Colouring scroll bars in a layer

message from GregSW18 on 22 Jul 2004
Does anyone know how to colour a layer's scroll bar?

Thanks,

- Greg
 
SisAndi replied to GregSW18 on 22 Jul 2004
Insert a table into your layer (one row, one column, no border) then as you put
your text/graphics into the table, as it extends past the horizontal dimension
of your layer, a scroll bar will appear (click on your layer, then in the
scrollbar-arrow-color: #white;
scrollbar-base-color: #e98faa;
scrollbar-dark-shadow-color: #f8dce4;
scrollbar-track-color: #f8dce4;
 
Murray *TMM* replied to SisAndi on 22 Jul 2004
That CSS will not change the color of a layer's scrollbar as far as I know.
Furthermore it MAY only change it on IE/Windows. Finally, where are you
applying those styles? To what tag?
 
SisAndi replied to SisAndi on 23 Jul 2004
It does work, in IE only. I put it in the body tag css. It colored both the scroll bar in the layer and in IE. It does not work in Netscape.
 
Gary White replied to SisAndi on 23 Jul 2004
It only works in Internet Explorer on the Windows platform. All others
ignore that invalid code and leave the scroll bars alone.

Gary
 
ranjan replied to GregSW18 on 22 Jul 2004
CSS

<!--[if IE]>
<style type="text/css">
#scrollLayer {
scrollbar-arrow-color:#FFFFCC;
scrollbar-track-color:#FFFFCC;
scrollbar-face-color:#FFCC00;
scrollbar-highlight-color:#FF6600;
scrollbar-3dlight-color:#FFFF66;
scrollbar-darkshadow-color:#FF6600;
scrollbar-shadow-color:#FFFF66;
}
</style>
<![endif]-->

HTML

<div id="scrollLayer" style="position:absolute; left:100px; top:150px;
width:150px; height:150px; z-index:1; overflow: auto;">
<p>Text Here....</p>
</div>

This will work in Internet Explorer

Ranjan
www.dreamlettes.net
 
Murray *TMM* replied to ranjan on 22 Jul 2004
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"ranjan" <ranjan@NOSPAMdreamlettes.net> wrote in message
news:cdpdq8$5jm$1@forums.macromedia.com...
 
Murray *TMM* replied to GregSW18 on 22 Jul 2004
Nope. I don't think you can do this.
 

Archived message: Colouring scroll bars in a layer (Macromedia Dreamweaver Web Design)