Hello,
I am currently making a vBulletin skin, and was wondering if there were any alternative to overflow: auto? The thing is, I'm trying to create a sidebar without tables AND with a fluid wrapper.
My CSS code looks like this:
Code:
#wrapper {
width: 90%;
min-width: 980px;
margin: 10px auto 0 auto;
background: #1a1a1a url(images/magnetic/style/wrapper.png) repeat-x top left;
border: 1px solid #161616;
overflow-x: hidden;
-moz-border-radius: 8px 8px 8px 8px;
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
}
#right-content {
float: right;
width: 275px;
color: #7a7a7a;
padding: 15px 0;
}
#left-content {
margin: 0px 0 0 0;
background: #e9ecee url(images/magnetic/style/bg-main.gif);
padding: 0px;
min-height: 800px;
overflow: auto;
overflow-x: hidden;
-moz-border-radius: 8px 8px 8px 8px;
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
}
And here's what the HTML looks like:
Code:
<div id='wrapper'>
<div id='right-content'>
Right content (sidebar) here
<!--end right--></div>
<div id='left-content'>
The left content here
</div>
</div>
The thing is, when the overflow  is there, the page looks fine BUT it has issues when opening, for example, dropdown menu or expanding a big image.
Here's what it does when opening a dropdown menu:
Here's what it does when trying to open an image:
So what I'm trying to do, is to create a fluid layout with a right sidebar without tables. It's working, although I'm looking for some code modifications so it doesn't have issues with the dropdowns etc. Basically, it seems that everything looks fine BUT when we open something that is "larger" than the #left-content ID. Then it creates issues.
Any idea?
Thank you so much in advance.
|