queirdo
11-20-2008, 09:17 AM
This works in firefox, safari, opera, IE7, etc. but i can't figure out why it is so screwed up in IE 6.
Between the header and footer which seem okay, in the middle of the page I have
<div id="page">
<div id="content">
posts go here
</div>
<div id="sidebar">
all my menus
</div>
</div>
this is the style sheet info for those divs:
#page {
margin: 0px auto;
width: 720px;
background: url(images/bg.gif);
}
#content {
margin:0px;
overflow: hidden;
padding-right:30px;
padding-top:20px;
height:auto;
}
#sidebar {
float: right;
width: 180px;
padding-left:15px;
padding-right:15px;
padding-top:10px;
height:auto;
}
I have tried setting a fixed width for #content that is smaller, but it seems to make no difference, and just makes it look less good in the other browsers.
Page is currently here: http://queirdo.com with full code.
Screenshot of the problem in ie6 here: http://queirdo.com/ie6.png
If anyone can help or even point me in the right direction, I would greatly appreciate it!
Between the header and footer which seem okay, in the middle of the page I have
<div id="page">
<div id="content">
posts go here
</div>
<div id="sidebar">
all my menus
</div>
</div>
this is the style sheet info for those divs:
#page {
margin: 0px auto;
width: 720px;
background: url(images/bg.gif);
}
#content {
margin:0px;
overflow: hidden;
padding-right:30px;
padding-top:20px;
height:auto;
}
#sidebar {
float: right;
width: 180px;
padding-left:15px;
padding-right:15px;
padding-top:10px;
height:auto;
}
I have tried setting a fixed width for #content that is smaller, but it seems to make no difference, and just makes it look less good in the other browsers.
Page is currently here: http://queirdo.com with full code.
Screenshot of the problem in ie6 here: http://queirdo.com/ie6.png
If anyone can help or even point me in the right direction, I would greatly appreciate it!