I've been trying to follow along with a CSS training book and have run into some trouble. The author explains how to position two divs side by side using absolute positioning... as:
<body>
<div id="content">
<div id="mainData">
Test Data 1
</div>
<div id="secondaryData">
Test Data 2
</div>
<div id="siteInfo">
Footer Information
</div>
</div>
</body>
</html>
divs "mainData" and "secondaryData" live inside the "content" div. However when I view in any major browser, the two divs just overlap each other. I've been trying this one out for a few days now, so that I can move on! Any help or insight would be appreciated.
Indeed coothead, validators rock. All the times it pointed out that I've left renegade tags somewhere! Pretty much anytime something looks 'jacked' the first thing I check out is validation.
Bookmarks