SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Footer CSS Problem

    on my website: http://projecttownmedia.com/dev/index.php

    The div.footer extends beyond all the wrapper. It scrolls left and right which I don't want.

    heres the CSS for the footer

    .footer {
    background-color: #222222;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #FFFFFF;
    width: 100% ;
    padding-left: 30px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;

    }

    I know its the footer div and not the container thats in it.
    btw I'm using twitter bootstrap

    Thanks in advance

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,312
    Mentioned
    177 Post(s)
    Tagged
    8 Thread(s)
    Hi,

    Try removing the width: 100% rule from your footer class.
    Does that help any?

  3. #3
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh thank you! It worked perfectly


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •