简体   繁体   中英

Basic CSS layout issue with 960 grid system

Upon inspection of the element <div id="wrapper"> in firebug it seems that it does not contain all the content that is nested inside it and is in fact very small.

Another issue is that <div id="footer"> is positioned at the top of the page when inspected in firebug and I am unsure as to why.

Any help would be much appreciated. There is a link below.

http://www.the-session.co.uk/pros/

Define your body min-width:980px; and clear your .container_12 overflow:hidden;

as like this

    body{
    min-width:980px;
    }
.container_12{
    overflow:hidden;
    }

Try clearing the floats in the wrapper:

#wrapper {
    overflow: hidden;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM