Hello!
So right now I'm redoing my site (again), and wanted to fill one of my divs with a solid color, but have it fill the entire browser window width wise. I know the wrapper itself won't have any issues with that, as other sites I have it fills up the browser window, but not sure how I can do that with the NAVIGATION div.
Here is the css / html:
Code:
#container
{
margin: 0 auto;
width:100%;
height:700px;
}
#header
{
height:150px;
width:1000px;
border-style:solid;
border-width:4px;
margin: 0 auto;
}
#navigation
{
width:100%;
height:50px;
margin:0 auto;
background-color: #565656;
background-repeat: repeat-x;
}
.navigationtext
{
text-align:center;
}
#content
{
width:1000px;
height:800px;
border-style:solid;
border-width:4px;
margin: 0 auto;
}
<!Doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="jcmi_css.css">
<title>
Home
</title>
</head>
<body>
<div id="container">
<div id="header">
image
</div>
<div id="navigation">
<div class="navigationtext">
navigation
</div>
</div>
<div id="content">
content here
</div>
</div>
</body>
</html>
I know it's a long shot to ask here but I know there are lots of website coders floating around so. XD A shot in the dark!
I am getting some css / html books this week so if no one knows the answer I should be able to find it in there.