Forum Moderators: not2easy
#content{
float:left;
width: 75%;
margin: 0;
padding: 0 3% 0 0;
}
.left {
width: 20%;
background-color: #CCCCCC;
border: 2px solid #000000;
}
.right {
width: 70%;
border: 2px solid #000000;
float: right;
}
------------------------------------------
<div id="content">
<div class="left">
Some text
</div>
<div class="right">
Some text
</div>
</div>
If I understand right the doc type is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
I have no idea what the above means, that's just what's at top whenever I make a new document.
Also I was looking at it on IE 5.2 on a Mac. I did try using Mozilla and Netscape--and they looked fine, but IE 5.2 had the text coming out of box! Why the inconsistency between browsers? Is there an easy way around this?
Why the inconsistency between browsers? Is there an easy way around this?
As for Doctypes, read this: [alistapart.com...]
-Chris