Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-19-2008, 03:37 AM   PM User | #1
tamasys
New to the CF scene

 
Join Date: Dec 2008
Location: Australia
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
tamasys is an unknown quantity at this point
Scrollbar always shows

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?
tamasys is offline   Reply With Quote
Old 12-19-2008, 03:54 AM   PM User | #2
BoldUlysses
Regular Coder

 
BoldUlysses's Avatar
 
Join Date: Jan 2008
Location: Winston-Salem, NC
Posts: 938
Thanks: 10
Thanked 190 Times in 187 Posts
BoldUlysses is on a distinguished road
Have you tried

Code:
overflow-y:auto;
?

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.

Welcome to CF!
__________________
matt | design | blog
BoldUlysses is offline   Reply With Quote
Users who have thanked BoldUlysses for this post:
tamasys (12-22-2008)
Reply

Bookmarks

Tags
column, css, layout, scrollbar, xhtml

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:22 PM.


Advertisement
Log in to turn off these ads.