kvarnerexpress
Nov 6 2005, 04:12 PM
| | I've got the following line in an html page before a table that has lots of rows and columns:
Code:
CODE <div style="HEIGHT: 500px; WIDTH: 1000px; OVERFLOW: auto">
That works perfectly in IE and FF to give me vertical and horizontal scrollbars. But what I really want is to size the horizontal scrollbar so it takes up 100% of the screen regardless of how big the screen is.
So, I tried changing 1000px to 100% like this: Code:
CODE <div style="HEIGHT: 500px; WIDTH: 1000px; OVERFLOW: auto">
Well, that works the way I would expect in FF (perfect) but in IE I do not get any horizontal scrollbar. Any idea how to tinker with it (without using frames) so I get the horizontal scrollbar in IE too?
kvarnerexpress __________________ |
Reply
arboc7
Nov 6 2005, 08:34 PM
All I can think of is that you might try "overflow: scroll;" instead of auto...let me know if that works.
Good luck!
Reply
truefusion
Nov 6 2005, 09:42 PM
Arboc7's suggestion should do it, but i believe IE doesnt show the scrollbar when placed on "auto", unless scrolling is required. Thus, why they call it "auto".
Reply
Tyssen
Nov 6 2005, 09:49 PM
Horizontal scrollbars are a bad thing. Why would you actually want one?
Reply
arboc7
Nov 7 2005, 04:09 AM
I missed horizontal scrollbars...really, why do you want them?
Reply
Similar Topics
Keywords :
div scrolling- Frames And Scrolling
- (2)
- Frame Scrolling
- (5)
hi, i have a question about scroll bars for frames. i have two frames on my page and both have
scrolling set to "yes". it works like i want in IE; even if there is no need for a scroll bar there
is a faded out scroll bar that takes up the space. in fire fox and nestscape navigator there is no
faded scroll bar when there is no need for one. there's just an ugly white gap. is there a way
to make the scroll bar appear faded like it does in IE? or maybe there's a way to always
heighten the area just enough so that the scroll bar is always neccessary. thanks, ...
Looking for div, scrolling