I put together a very simple and rough example to illustrate my point:
Code:
<html>
<head>
<style type="text/css">
#header
{
width:100%;
height:100px;
background:#ff0000;
}
#main
{
width:100%;
height:100%;
background:#000000;
}
#content
{
width:400px;
height:100%;
background:#ccff00;
float:left;
}
#sidebar
{
width:100px;
height:100%;
background:#ffcc00;
float:left;
}
</style>
</head>
<body>
<div id="header">
</div>
<div id="main">
<div id="content">
Lorem Ipsum<br/>
Lorem Ipsum<br/>
Lorem Ipsum<br/>
</div>
<div id="sidebar">
</div>
</div>
</body>
</html>
You might want to consider that it is your markup that needs to be rewritten for your CSS to do what you want it to do....
Bookmarks