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. 

Hello
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.

about | contact | feed

Comments (feed)
Dave on Cubeicals wine rack: I ended up cutting a...
Harry on Cubeicals wine rack: So Dave, how did you...
Emily on Constant vs. average speed: I can give you sun...
Dave on Accents that annoy me: I'm pretty much saying I...
Wendy on Accents that annoy me: Are you passively aggressively saying...
JSW on Accents that annoy me: KInda like I can't tell...
Dave on Accents that annoy me: Understood, but my untrained ears...
Dave on Constant vs. average speed: I don't think so.  There...
JSW on Accents that annoy me: I realize with you being...
Emily on Constant vs. average speed: You don't think the beaches...