SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot bazzablue's Avatar
    Join Date
    Mar 2005
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Extra space appearing in FF but not IE7

    In the process of redesigning our company website and I am getting some unwanted space appearing in FF but it doesn't show in IE7.

    A preview can be seen here: http://www.elucid8.co.uk/test

    The unwanted space appears above and below the middle section. It seems to be about 9px high and shows the background colour assigned in the body.

    Any help would be appreciated.

    Thanks.

  2. #2
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It has to do with your p-tags.
    Your p-tags have a padding: 10px 0px (10px bottom and top, 0px left and right).
    The first p-tag pushes the rest of the content down, the last p-tag pushes the footer down.


    You should download some plugins for FF that help you 'debug' your pages.
    FOR SALE: 1 set of morals, never used, will sell cheap

  3. #3
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Standard collapsing margins behaviour - you can thank Kravvitz for that link in a post a few days ago

  4. #4
    SitePoint Zealot bazzablue's Avatar
    Join Date
    Mar 2005
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers guys. Still new to CSS-based design and build but am learning lots thanks to people like you.


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
  •