It's a fluke when anything works in IE
Validation doesn't guarantee anything. It's synonmous to using Word's spell and grammar checks. Sure, it catches some common mistakes but there could certainly be other mistakes in the peice. Unfortuatnely, MS Office doesn't come with logic and rhetoric checks, yet.
Anyway, to your problem. You're using clear imporperly. You can read more about it's proper usage here.
Code:
div.left {
width: 18%;
background-color: #CCCCFF;
border: 1px solid black;
float: left;
clear: right;
}
Code:
div.right {
width: 20%;
border: 1px solid black;
background-color: #CCCCFF;
float: right;
clear: left;
}
The highlighted should be removed.
Bookmarks