Three Column Float Issues
-
Hey guys,
I looked around at the other three column threads and have yet to find my problem… so here it is. I’ve been tinkering around with a theme and can’t get it to become three column properly. I have a sidebar, content, and farsidebar (bar on the right). No matter how I float it the content always hugs the right or hugs the left… leaving both the sidebars stuck together. Here are the important bits of the style sheet:
‘#main
{
margin:0 auto;
padding:0;
background:#000 url(‘img/content_bg.gif’) repeat;
width:800px;
}
#sidebar {
width:125px;
float:left;
padding:0px 8px 10px 8px;
margin:0;
font-size:1em;
color:#333333;
display:inline;
}
#content {
width:400px;
float:right;
padding:5px;
margin:0;
overflow:hidden;
display:inline;
}
#farsidebar {
width:220px;
float:right;
padding:0px 8px 10px;
margin:0;
font-size:1em;
color:#333333;
display:inline;
}’And here are the header and footer:
‘#header {
background:#fff url(‘img/logo.jpg’) no-repeat bottom;
height: 100px;
margin: 0 auto;
width:800px;
padding:0;
border:#fc9 0px solid;
}
#footer {
margin:0 auto;
padding: 7px 0;
border-top:#BBC4A3 1px solid;
clear: both;
font-size: 0.8em;
color: #999;
text-align:center;
width:740px;
}’ideas?
- The topic ‘Three Column Float Issues’ is closed to new replies.