SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: footer issue

  1. #1
    SitePoint Addict Zapppa's Avatar
    Join Date
    Aug 2009
    Posts
    314
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    footer issue

    Hi,

    I am having a little issue with my footer, I would like it to fill the full width of the window.

    http://mgdesign.hostultra.com/

    At the moment there is a little white space on either side.

    I am currently in the midst of converting my site from a static site into a responsive design. I would like the footer to always fill the browser width and remain firmly on the bottom .. in between the media queries with giving heights its getting a little tricky.


    Any help is appreciated

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    Hi Zappa,

    you haven't set the left and right margins on your body to 0 which is why you see the Browser's default CSS rules applied.

    Just set the margin to 0.

    Code CSS:
    body {
    background: rgb(25,25,25) url("http://mgdesign.hostultra.com/images/bg.png") repeat;
    color: rgb(255, 255, 255);
    font: 1em/1 "museo-slab", serif;
    margin:0;
    text-align: center;
    }
    Maleika E. A. | Rockatee | Twitter | Dribbble



  3. #3
    SitePoint Addict Zapppa's Avatar
    Join Date
    Aug 2009
    Posts
    314
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah of course, thanks!


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
  •