I didn't read your original post so you don't need to worry.**I edited my original post because the tone was not sufficiently respectful. I apologize for that, and I've changed my wording. Any questions/concerns, pm me.
I appreciate the passion in the topic. I totally understand the need for accessibility and such using divs. But there needs to be an easier way. divs aren't the answer to easy or timely.
A three column div still takes this much code to make work.
Code: Select all
<style type="text/css">
#container {
width: 760px;
\width: 780px;
w\idth: 760px;
border: 1px solid gray;
margin: 10px;
margin-left: auto;
margin-right: auto;
padding: 10px;
}
#banner {
padding: 5px;
margin-bottom: ;
background-color: rgb(213, 219, 225);
}
#content {
padding: 5px;
margin-left: ;
margin-right: ;
background-color: gray;
}
#sidebar-a {
float: left;
width: ;
margin: 0;
margin-right: ;
padding: 5px;
background-color: rgb(235, 235, 235);
}
#sidebar-b {
float: right;
width: ;
margin: 0;
margin-left: ;
padding: 5px;
background-color: rgb(235, 235, 235);
}
#footer {
clear: both;
padding: 5px;
margin-top: ;
background-color: rgb(213, 219, 225);
}
</style>
</head>
<body>
<div id="container">
<div id="banner"> </div>
<div id="sidebar-a"> </div>
<div id="sidebar-b"> </div>
<div id="content"> </div>
<div id="footer"> </div>
</div>
</body>
</html>You worry about dial-up users and code bloat with tables but I see just as much bloat in css/div world...as I've pointed out with the 3 column layout.
What about backwards compatibility? Anything before the ie5.5 and before, the div/css stuff is going to look aweful. Tables are backward compatible and a hundred times more predictable than a div.
~I will not turn to the pure css layout side! (even if you kidnap my sister, murder my aunt and uncle, blow up worlds, and tell me your my evil father).