This isn't XHTML so, don't use that DOCTYPE. For testing purposes, I used an image I had laying around. The height and width attributes were faithfully applied by the browser so, I had the same layout. I added title attributes just so that I could keep track of which image was what, these title attributes are not required:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
#frame {
width: 840px;
margin: 0 auto;
}
#banner {
height: 90px;
width:618px;
margin:0 auto;
}
#left {
float: left;
width: 180px;
}
#right {
float:right;
}
#foot {
clear:both;
}
</style>
</head>
<body>
<div id="frame">
<div id="banner"><img src="plus.gif" width="618" height="83" alt="" title="banner">
</div>
<div id="left"><img src="plus.gif" width="142" height="600" alt="" title="left">
</div>
<div id="right"><img src="plus.gif" width="140" height="600" alt="" title="right"> </div>
<div id="contentwrapper"><iframe></iframe></div>
<div id="foot">
<img src="plus.gif" width="618" height="54" alt="" title="foot">
</div>
</div>
</body>
</html>
Bookmarks