I have used the code below to divide the pages into two halves, 28% and 72%. But the background color set by the wrapper tag should fill 28%; in my case it works fine in IE7.
In IE6, the background color is visible across 100% of the width instead of 28%.
How do I fix this?
My code:
#wrapper{
float:left;
width:28%;
background:#f5f5dc;
}
<div id="wrapper">
<ul id="testnav">
<li> <a href="#">LOCATIONS</a>
<ul id="subnav">
<li id="content_1"><a href="#">Note </a></li>
</ul>
</li>
</ul>
</div>