|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I been designing a web site in Dreamweaver 2004 I have added a Layer which I did by clicking Draw Layer, Well anyways I have added a scroll bar too it and now I want to change the color of the scroll bar the CSS which I have tryed is: <style type="text/css"> <!-- body { background-color: #0095FF; body {scrollbar-base-color:#6CC0FF;} } .style1 { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; body {scrollbar-base-color:#6CC0FF;} } and the Layer code is: <div id="Layer1" style="position:absolute; left:65px; top:145px; width:700px; height:298px; z-index:1; overflow: scroll; visibility: visible;" class="style1"> thanks alot |
|
#2
|
|||
|
|||
|
hi,
it's simple: the part with the #0095FF you change that to a hex colour or a colour by remiving the # if you want a true colour such as red or, you change the numbres and leave the # for a hex colour. btw, to make your code more efficient use this: body { background-color: #0095FF; scrollbar-base-color:#6CC0FF; } or, the full scrollbar code that allows you to access all the scrollbar proporties: <STYLE TYPE="TEXT/CSS"> <!-- body { scrollbar-face-color:#C7DCEF; scrollbar-highlight-color:#003399; scrollbar-shadow-color:#000000; scrollbar-3dlight-color:#003399; scrollbar-arrow-color:#003399; scrollbar-track-color:#C7DCEF; scrollbar-darkshadow-color:#000000; } //--> </STYLE> hope that helped.
__________________
Ryan Jones (RyanJ) |
|
#3
|
|||
|
|||
|
Thanks alot mate it works perfect.
![]() |
|
#4
|
|||
|
|||
|
thanks,
i'm glad to be of help.... ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS And HTML Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|