Hi,
I'm working on a three column layout in CSS/XHTML, with the middle column scrolling. For this I use
Code:
div#center {
overflow-y: scroll;
...
}
The problem is that the scrollbar always shows, rather than just when it is needed. This leaves an ugly white space in Firefox 3.0 for Mac (what I use), I'm not sure how other browsers handle it. Is there any way to fix this?
You should know that overflow-x and overflow-y attributes aren't universally supported like the plain overflow attribute is. Fortunately with careful sizing and attention to detail the latter should be able to take care of the whole issue.
For further help, posting your whole code and/or a link to your page would be helpful.