Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
How To Show a Vertical Scrollbar Inside FIELDSET
JiaPei Jen
Ranch Hand
Posts: 1309
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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:
<fieldset style="scrollbar-3dlight-color:#FFFFFF;scrollbar-arrow-color:#000000;scrollbar-base-color:#FF9999;scrollbar-darkshadow-color:#000000;scrollbar-face-color:#000000; scrollbar-highlight-color:#000000;scrollbar-shadow-color:#0033CC}; "> <table> ..... ..... </table> </fieldset>
but the scrollbar simply does not show in the browser. What should I fix to display the scrollbar?
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
] [
About Bear
] [
Books by Bear
]
JiaPei Jen
Ranch Hand
Posts: 1309
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for your reply. But, it does not work. I still do not get the scrollbar in IE6.
<fieldset> <legend align="left"> <b>Leads & Events</b> </legend> <br/> <div style="overflow:auto;scrollbar-3dlight-color:#FFFFFF;scrollbar-arrow-color:#000000;scrollbar-base-color:#FF9999;scrollbar-darkshadow-color:#000000;scrollbar-face-color:#000000;scrollbar-highlight-color:#000000;scrollbar-shadow-color:#0033CC;"> <table> ..... ..... </table> </div> <br/> </fieldset>
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
JiaPei Jen
Ranch Hand
Posts: 1309
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It works now. Thank you very much.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Is There a Vertical Scrollbar for the selectManyListbox?
How To Make FIELDSETs Share Their Borders
Want to Stop Text Wrap Around in Table Cells
What Could Prevent FIELDSET From Displaying in the Browser?
How to highlight a hyperlink?(Urgent)
More...