ddhr.org
Firefox scroll bar Thursday, Jan 19, 2006 6:37 pm

I've noticed a little problem when viewing my site:  Different pages or posts appear to have different widths.  This is kind of impossible because I wrote my template by hand, and I made all the pages and posts look pretty much the same.  So I searched to see if anybody else had the problem.  The answer is yes.  The problem is that Firefox doesn't have a vertical scroll bar unless there's content that extends past the bottom of the browser window.  This sounds good, except that it causes the problem that I just mentioned.  This site says to use html {overflow-y: scroll;} in the style sheet.  It also recommends a couple other similar solutions, none of which I tried because the first one worked.  This problem doesn't occur in Internet Explorer or Opera because the vertical scroll bar is always displayed, though it's grayed-out when not needed.  This solution displays a grayed-out scroll bar, whether there's content past the bottom of the window or not. 

About (more)
Hi, my name is Dave Hosier, and this website is where I write my unfounded opinions on trivial matters. Feel free to look around, but please refrain from reading anything.

contact | code | pictures | feed

Discussion (feed)
Rus on Internet echo chamber: The latter also subjects the...
Dave on Internet echo chamber: I read your comments, so...
Rus on Internet echo chamber: If he wasn't feeling so...
Rus on Where grass grows: Isn't there one house up...
Wendy on Where grass grows: Ehem...I suggested a garden in...
Rus on Favre watch: That last line is brilliant.
Dave on Where grass grows: Good point.  It wouldn't take...
Rus on Where grass grows: I feel your pain, but...
Viv on WinXP .mov thumbnails: Thank you, this worked for...
Dave on Belief and behavior: I would say he believed...