dagger2002
Programmer
Guys I need help. I am a newbie to CSS and have a strong html background. I have supplied my code below. my problem is simple, I think. I have a header, navigation, and content areas. For now I just need the divs to work then I will add content. i have also included a color legend for the divs.
legend
wrapper: Main Table is aqua
navigation is black
content area is fuscia.
Here is the page
here is the css on the site it is in a seperate file.
Thanks alot
legend
wrapper: Main Table is aqua
navigation is black
content area is fuscia.
Here is the page
Code:
<link rel="stylesheet" rev="stylesheet" type="text/css" href="soe06.css" />
</head>
<body>
<div id="wrapper">
<div id="header">
</div>
<!-- Main Navigation -->
<div id="mainNav">
</div>
<!-- End Navigation -->
<!-- Body Content -->
<div id="content">
Hello world
</div>
<!-- End Body -->
</div>
</body>
Code:
div#wrapper
{
border: 0;
padding: 0;
width: 800px;
height: 825px;
background-color: aqua;
vertical-align: top;
}
div#header
{
width: 800px;
height: 219px;
padding: 0px;
}
div#mainNav
{
background-color: black;
width: 165px;
height: 606px;
border: 0px;
padding: 0px;
float: left;
}
div#content
{
width: 635px;
height: 606px;
background-color: fuchsia;
padding: 0px;
margin-left: 165px;
float: right;
}
Thanks alot