mpartarrieu
Programmer
I'm trying to place two divs next to each other, so one would be the nav area and the other the content area. They are both nested in another div that centers the page. Problem is that IE6 shows a 3px space between the two nested divs and I can't get rid of them. It renders nice on FF2, Safari 3, Opera 9 and Netscape 9.
Here's the relevant code:
I know this problem probably has a simple answer, but I'm completely lost and wasted after dealing with it all morning.
Thanks in advance...
/michel
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far, the Universe is winning.
Here's the relevant code:
Code:
<div style="margin: auto; width: 800px; background-color: Gray; height: 550px;">
<div style="float: left; background-color: Fuchsia; width: 140px; height: 300px;">
nav area
</div>
<div style="background-color: Lime; width: 640px; height: 500px; margin-left: 140px;">
content area
</div>
</div>
Thanks in advance...
/michel
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far, the Universe is winning.