...

View Full Version : CSS Navigation



xdous
11-21-2008, 04:17 PM
Hi All.

Can anyone give me a good way to align the blue links on this page (http://site.epicgraphics.co.uk/) on top of the orange strip?

Also how do I stretch the white container vertically so it touches the top and bottom of the page?

Cheers.

abduraooft
11-21-2008, 04:20 PM
Add
*{
margin:0;
padding:0
} into your CSS.

abduraooft
11-21-2008, 04:21 PM
and
html,body{
height:100%;
}
.container{
min-height:100%;
}
* html .container{/* IE min-height hack*/
height:100%;
}
.footer {site.epicgraphics... (line 76)

color:#444444;
font-family:"Gill Sans MT";
font-size:13px;
margin-left:auto;
margin-right:auto;
padding-top:8px;
text-align:center;
position:absolute; /*to stick footer at bottom */
left:0pt;
bottom:0pt;
width:100%;
}

Rowsdower!
11-21-2008, 04:52 PM
...
* thml .container{/* IE min-height hack*/
height:100%;
}
...


Good coding but watch out for this little typo (should read "html") when you implement it or else it won't do you much good :thumbsup:

abduraooft
11-22-2008, 05:09 AM
Good coding but watch out for this little typo (should read "html") when you implement it or else it won't do you much good :thumbsup: Good catch :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum