CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 21st, 2003, 06:11 AM
xDamox xDamox is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 xDamox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy CSS And HTML Help

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

Reply With Quote
  #2  
Old September 21st, 2003, 08:01 AM
sciguyryan sciguyryan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Rhondda Cynon Taff, Wales
Posts: 172 sciguyryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 18 m 24 sec
Reputation Power: 5
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)

Reply With Quote
  #3  
Old September 21st, 2003, 08:39 AM
xDamox xDamox is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 xDamox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks alot mate it works perfect.


Reply With Quote
  #4  
Old September 21st, 2003, 08:50 AM
sciguyryan sciguyryan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Rhondda Cynon Taff, Wales
Posts: 172 sciguyryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 18 m 24 sec
Reputation Power: 5
thanks,


i'm glad to be of help....

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS And HTML Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway