The css code below works pretty well. But I want to slide the content down about 15px. So far I have not found a good way to do this. If the content is the longest item it overlaps the footer when I add;
[CODE]
#content
{
position:relative;
top:15px;
}
Have also tried position:fixed, position:absolute, no luck. Is there a tweak I need for the bottom? Another 15px at the bottom would be nice too.
Content is at the very top under “top”and then rests on top of the footer. Original code;
[CODE]#container
{
width: 95%;
margin: 10px auto;
background-color: #fff;
color: #333;
border: 1px solid gray;
background-image: url(images/bluestrip.jpg);
background-repeat: repeat;
line-height: 130%;
}
#top
{
padding: .0em;
background-color: #3e5e8d;
border-bottom: 1px solid gray;
}
#top h1
{
padding: 0;
margin: 0;
}
#leftnav
{
float: left;
width: 160px;
margin: 0;
padding: 1em;
}
#rightnav
{
float: right;
width: 160px;
margin: 0;
padding: 1em;
}
#content
{
margin-left: 200px;
border-left: 1px solid gray;
margin-right: 200px;
border-right: 1px solid gray;
padding: 1em;
background-color: white;
max-width: 36em;
}
#footer
{
clear: both;
margin: 0;
padding: .5em;
color: white;
background-color: #3e5e8d;
border-top: 1px solid gray;
}