aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How To Show a Vertical Scrollbar Inside FIELDSET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How To Show a Vertical Scrollbar Inside FIELDSET" Watch "How To Show a Vertical Scrollbar Inside FIELDSET" New topic
Author

How To Show a Vertical Scrollbar Inside FIELDSET

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I use IE 6. My FIELDSET works fine. I have everything displayed as expected. Now I am trying to show a vertical scrollbar inside of a FIELDSET:

but the scrollbar simply does not show in the browser. What should I fix to display the scrollbar?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

Just adding CSS to an element will not allow it to display a scrollbar.

You can either embed an iframe in the fieldset, or a div with overflow set to auto.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Thanks for your reply. But, it does not work. I still do not get the scrollbar in IE6.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

First of all, be a good sprt and move all the styles off of the element and into a <style> element.

Secondly, you need to set a height for the div for the scrollbar to appear.
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
It works now. Thank you very much.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How To Show a Vertical Scrollbar Inside FIELDSET