...

View Full Version : Problem with header code



CoolKay
02-11-2012, 06:16 PM
http://www.countyfairgrounds.net/rodeos/inputrodeos.php

I have run this through both the css3 and html5 validators and the code passed both.
Howeve you will see the navigation is messed up somehow.
Now if I put overflow:auto in the #inner at the top the navigation straightens out, however then I have a vertical scroll bar in this division on the right side of the page top above the navigation. Help please?

SB65
02-11-2012, 06:19 PM
nav {
background-color: #B9B9B7;
border-bottom: 2px solid #400000;
border-top: 2px inset #400000;
clear: both;
height: 32px;
margin: 0 auto 0 0;
width: 100%;
}

CoolKay
02-11-2012, 10:07 PM
Thanks much - I somehow still do not get the clear:both; thing. The problem beig of course that when they teach this stuff they do not write in English



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum