SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member Aidy's Avatar
    Join Date
    Jul 2006
    Location
    Uk/North Yorks
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE 7 floats won't clear properly

    Hi guys and gals

    Could some one please tell me if this is a ie7 bug or if I am just missing something. In ie7 the wrap div is not expanding down to the cleared footer, it seems to be fine in all other browsers. I think anyone will see what I mean if you view the page in different browsers

    http://www.dalesanglers.com/new

    The Css can be found here

    http://www.dalesanglers.com/new/styles.css

    Many thanks

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,803
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    HI,

    You have set a height of 50px on your content but it is about 5 time as big as that

    Code:
    #content{
        background-image: url(http://www.dalesanglers.com/new/images/layout/contentbackground.png);
        background-repeat: no-repeat;
        padding-top: 18px;
        padding-right: 50px;
        padding-left: 50px;
        height: 50px;
        width:650px;
        clear:both;
    }
    Remove the height altogether or use min-height if you want it held open a bit.

  3. #3
    SitePoint Member Aidy's Avatar
    Join Date
    Jul 2006
    Location
    Uk/North Yorks
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, I can't believe I missed that! Thanks again


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
  •