<body>
<div id="top_container">
<ul id="top_menu">
...
...
<!-- MAIN NAV MENU GOES HERE -->
...
...
</ul>
</div>
<h1> </h1>
<div id="iiicolleft">
<h5>[home]</h5>
</div>
<div id="iiicolright">
<h6>Current Projects:</h6>
<p><img src="img/link.gif"><a href="#" title="test" target="_blank" class="mbiguism" alt="test">Link One</a></p>
<p><img src="img/link.gif"><a href="#" title="test" target="_blank" class="mbiguism" alt="test">Link Two</a></p>
<p><img src="img/link.gif"><a href="#" title="test" target="_blank" class="mbiguism" alt="test">Link Three</a></p>
</div>
<div id="iiicolcontent">
<p>Default home contents go here: Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna <a class="mbiguism" href="foo.html">aliquam</a> erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exercitation ulliam corper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem veleum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel willum lunombro dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
</div>
<h2> </h2>
<h3> </h3>
<div id="bot_container">
<ul id="bot_menu">
...
...
<!-- SECONDARY NAV MENU GOES HERE -->
...
...
</ul>
</div>
</body>
I use H1 H2 and H3 as horizontal-rule seperators… here is the CSS:
You need to give your middle column position: relative; and negatively position them out of it (meaning in the html the left and right divs must go inside the middle div also).
Absolutely positioned elements are removed from the document flow, which means they don’t affect elements further down in the markup. That’s why you get overlaps.
If you need to put something below your columns, forget positioning unless you always know which column is longest. You need to float your columns. See Paul O’B’s sticky thread at the top of the CSS forum for examples.
WOw! Thanks for all the help guys! I can’t thank you enough for all the good info and code! It makes a lot of sense now.
Thanks for the code example Paul, I really appreciate it. Oh, and congrats on the Mentor and Web-designer of the year awards! That rocks… do you have a personal site I could scope?