![]() |
![]() |
#3 (permalink) |
Crazy
Location: Arnold, MD
|
I'm using iframes, and all the info fits within the frame but no matter what I do I am still getting a horizontal scroll bar. The page that the iframe loads is pretty much a table with some text, I cut that to half the size of the iframe and I still get the scroll bar. I can't figure out what is wrong with it, so I want to remove it.
|
![]() |
![]() |
#4 (permalink) |
Junkie
|
Scrollbars can only be turned off as a set in windows and frames, not just the individual horizontal or vertical scrollbar.
Does the problem occur in every browser, or just the one you're using? The only reason it would be showing a scrollbar is if part of the content is wider than the window. You may want to put temporary visible borders on all of the TABLE and DIV elements in that page so you can see what they're doing. In particular, a DIV with a width of 100% will expand to the width of the entire page rather than to the width of the containing block in Mozilla. |
![]() |
![]() |
#6 (permalink) |
Junkie
|
Doh! Why didn't I think of that?
![]() Regardless of that, it would be a good idea to find out why your page is forcing a horizontal scrollbar before you use a kludge to fix it. Kludging a layout or stylesheet tends to make for messy code - exactly the thing CSS was designed to help eliminate. Last edited by SinisterMotives; 06-25-2004 at 09:14 AM.. |
![]() |
Tags |
htmlhorizontal, lock, scroll |
Thread Tools | |
|
|