Click to See Complete Forum and Search --> : color scroll bar with drop down menu
TehChickken
07-25-2006, 12:56 PM
yeah well i just want to know how to set a colour scroll bar with a dropdown menu...
maybe this shouldnt be here but anyways...
<select style="color:#CC0000; background-color:#000000; font-family:Arial; font-size:8px; width:180px;>
<option>
</select>
thats the code im using....
nataliemac
07-25-2006, 03:33 PM
Setting colors for the scrollbars is mostly only supported in IE (and Opera, maybe I think). It is not a part of the official CSS/HTML specification and will prevent your code from validating.
However, if you insist: http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/scrollbarColor.htm
felgall
07-25-2006, 04:31 PM
Both IE and Opera allow you to turn off such nonsense. Opera has an entry in the preferences while with IE you do it by using your own stylesheet to override those proprietary commands with their default system settings. No other browser allows web pages to access scrollbars at all beyond being able to determine whether or not the scrollbars should be there.