No replies
2logicmedia
Offline
newbie
Last seen: 17 years 18 weeks ago
Joined: 2005-04-08
Posts: 3
Points: 0

Hi guys below is my site code am trying to place 2 divs on the left and 2 other divs on the right , kinda like have the header , then the menu div then 4 divs below the menu div 2 on the left then 2 on the right hope it helps...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test Site</title>
<style type="text/css">
<!--
body {
	background: #ccc;
	padding: 0;
	margin: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	text-decoration: none;
} 
#header {
	margin: 0px;
	padding: 10px;
	border: 0px;
	height: 130px;
	voice-family: "\"}\"";
	voice-family:inherit;
	background-color: #006600;
	background-image: url(/v3/css/images_cache/V3_header_bg.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
}
#menu {
	background-color: #999999;
}
#container {
	background-color: #CCCCCC;
}
#left-top-banner {
	background-color: #990000;
	float: left;
	width: 600px;
}
#left-content {
	background-color: #990099;
	float: left;
	width: 600px;
}
#right-top-banner {
	background-color: #999900;
	float: right;
	width: 150px;
}
#right-content {
	background-color: #CC9999;
	float: right;
	width: 150px;
	clear: both;
}
#footer {
	background-color: #FFFF00;
	clear: both;
}
-->
</style>
</head>
<body>
<div id="header"></div>
<div id="menu">menu</div>
<div id="container">
  <div id="left-top-banner">Left top</div>
  <div id="left-content">left content</div>
  <div id="right-top-banner">right top banner</div>
  <div id="right-content">right Content</div>
</div>
<div id="footer">Content for id "footer" Goes Here</div>
</body>
</html>