jvanv8
11-10-2003, 03:56 PM
I have some text ona dynamic page that could be 1 sentance , 2 sentances, or a big glob of text with bullets and lists. The content is dynamic and I have no control over it.
What I would like is a vertical scrollbar if the content is exceeds a certain amount. I do not want horizontal scrollbars.
I tried CSS.
Overflow:"Scroll"
Gives me a horizontal scrollbar.
I tried TextArea
Gives me a horizontal scrollbar.
I tried CSS and trimming the bottom of the layer off with margins... WORKS - No Horizonal Scroll BUT the horizonal scroll is visible in Netscape and on Macs.
I tried
<textarea name="textarea" rows="15" cols="50" wrap="virtual" readonly class="noborder" >
but HTML can not be rendered inside and the area does not stretch with the browser window.
I thought about a Javascript solution but most are a bit amature looking and you are not able to "drag" a "slider bar"
Whats the deal... shouldn't this be easy. 1 measly vertical scrollbar, nothing more, nothing less...
Thanks for any help
- John
What I would like is a vertical scrollbar if the content is exceeds a certain amount. I do not want horizontal scrollbars.
I tried CSS.
Overflow:"Scroll"
Gives me a horizontal scrollbar.
I tried TextArea
Gives me a horizontal scrollbar.
I tried CSS and trimming the bottom of the layer off with margins... WORKS - No Horizonal Scroll BUT the horizonal scroll is visible in Netscape and on Macs.
I tried
<textarea name="textarea" rows="15" cols="50" wrap="virtual" readonly class="noborder" >
but HTML can not be rendered inside and the area does not stretch with the browser window.
I thought about a Javascript solution but most are a bit amature looking and you are not able to "drag" a "slider bar"
Whats the deal... shouldn't this be easy. 1 measly vertical scrollbar, nothing more, nothing less...
Thanks for any help
- John