i am having problems with a new site i am building, i am trying to add a a gap for my horizontal menu, but the main content box keeps moving down and one of the boxes on the right moves left, can you help, thanks
- Code: Select all
<!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=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#header {
width:800px;
float: right;
margin-right:5em;
}
#container {
width:800px;
float: right;
margin-right:5em;
}
#rcontainer {
width:230px;
float: right;
margin-right:1em;
margin-top:1em;
}
#main {
width:500px;
float: left;
margin-left:1em;
margin-top:1em;
margin-bottom:1em;
background-color:#ffffef;
padding:3px 3px 0px 10px;
}
#plug1 {
width:230px;
float: right;
margin-right:1em;
margin-top:1em;
margin-bottom:1em;
}
#menu {
width:230px;
float: right;
margin-right:1em;
}
#footer {
width:800px;
float: right;
margin-right:5em;
}
-->
</style>
</head>
<body>
<div id="header"></div>
<div id="container">
<div id="rcontainer">
<div id="menu"></div>
<div id="plug1"></div>
</div>
<div id="main"></div>
<div id="footer"></div>
</div>
</body>
</html>
p.s, i have taken out the images and fonts etc to make it easyier on me ( please see attached image )