For some reason Quirks Mode does as I expect while Standards Mode does some strange stuff. I did make the mistake of not validating the page as I built it, but the HTML and CSS validators find no problems. I did try using a transitional doctype, but it didn't solve the problem. And that is that my CSS overflow statement is disregarded with either DTD.
If anyone knows a CSS solution for keeping he heights of columns equal, please do tell. I saw the DD script in the CSS library, but I would rather keep JS out of this site if possible. Thanks!Code:body{ background-color: black; margin: 0px; padding: 0px; color: red; height: 100%; } div#body{ margin: auto; padding: 0px; width: 800px; height: 100%; } div#body > div#left{ background-color: green; float: left; width: 20%; margin: 0px; padding: 0px; } div#body > div#left > ul#menu{ width: 100%; list-style: none none; color: red; z-index: 0; margin: 0px 0px 0px 1px; padding: 0px; } div#body > div#left > ul#menu>li{ width: 100%; margin: 0px; padding: 0px; border-bottom: 1px solid red; } div#body > div#left > ul#menu>li a{ color: red; text-decoration: non; width: 100%; display: block; } div#body > div#left > ul#menu>li:hover{ background-color: red; } div#body > div#left > ul#menu>li:hover a{ color: green; } div#body > div#center{ height: 100%; width: 65%; background-color: #00FFFF; float: left; overflow: auto; } div#body > div#right{ float: right; width: 15%; text-align: right; background-color: green; } div#footer{ clear: left; background-color: #FF00FF; height: 1.25em; text-align: center; } div#header{ clear: left; background-color: #FF00FF; color: black; text-align: center; margin: 0px; padding: 0px; } div#header > a > img{ border: 0px solid blue; } table#catalogue{ margin: auto; } table#catalogue td:first-child{ text-align: center; }HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> <link rel="stylesheet" type="text/css" href="general.css"> </head> <body> <div id="body"> <div id="header"> <!-- banner --> </div> <div id="left"> <!-- nav list --> </div> <div id="center"> <!-- long table --> </div> <div id="right"> <!-- sidebar --> </div> <div id="footer"> <!-- footer --> </div> </div> </body> </html>



Reply With Quote

Bookmarks