Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
horizontal scrollbar problem
Name: slong327 Date: May 16, 2007 at 13:43:50 Pacific OS: OS X 10.4.2 CPU/Ram: 1.5 GHZ G4 Product: Apple
Comment:
I know this problem has been dicussed before, but I still can't seem to find a solution that I've been able to implement correctly.
I'm getting an unwanted scrollbar in IE and Firefox within my div tag that's set to use an auto overflow. Works fine in Safari.
Name: Michael J (by mjdamato) Date: May 17, 2007 at 20:04:27 Pacific
Reply:
Simple. Your div is set to a width of 468 pixels with 20 pixel padding on the right side (I'd add some padding on the left as well, by the way). So, that leaves a possible maximum of 448 pixels of width for the content. I say possible, because you have more content than will fit vertically, which creates a vertical scrollbar and reduces the maximum horizontal space by about another 20-25 pixels to a max of around 430pixels (this may change based upon browser used).
But, the first thing you put in there is an image with a width of 468 pixels! That's too wide for the available space, so there is a horizontal scroll bar. The right side of the image is just blank space, you can fix your problem by cropping off the unused right side of the image.
Summary: Ok guys, this doesn't work. here's the code i'm using, can someone tell me what's wrong: html { overflow-x:hidden; overflow-y:auto; } And finally, here is the web page: http://www.familleboutet.com/f...
Summary: The problem is with the fact you are using frames. You will notice that in FF if you resize the page such that there needs to be a vertical scrollbar, the content in the bottom frame "jumps" to the ef...
Summary: the whitespace isn't olny at the bottom. i have 1024*768 with firefox, and a horizontal scrollbar shows up, but when scrolled will only reveal a big whitespace at the right. I don't know why that happ...