Forums

This topic is locked

Dreamweaver MX - Layer Scrollbar Colour

Posted 03 Nov 2003 17:58:42
1
has voted
03 Nov 2003 17:58:42 Adil Khan posted:
Could anyone please help me in being able to change the colour of a scrollbar within dreamweaver MX. I have inserted a layer and changed the overflow to 'Auto' which displays a scrollbar when the text in the layer exceed the length of the layer itself. Now I really want to change the colour of the scrollbar that appears, but havent been able to.

Any help wud be much appreciated.

Thanx

Replies

Replied 03 Nov 2003 19:16:41
03 Nov 2003 19:16:41 Wayne Hultum replied:
You could put this
<pre id=code><font face=courier size=2 id=code>&lt;style&gt;
BODY
{
SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffcc;
SCROLLBAR-3DLIGHT-COLOR: #330099;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffc4;
SCROLLBAR-DARKSHADOW-COLOR: #ffcccc
}
&lt;/style&gt; </font id=code></pre id=code>
between the head tags

<pre id=code><font face=courier size=2 id=code> &lt;head&gt;
&lt;style&gt;
BODY
{
SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffcc;
SCROLLBAR-3DLIGHT-COLOR: #330099;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffc4;
SCROLLBAR-DARKSHADOW-COLOR: #ffcccc
}
&lt;/style&gt;
&lt;/head&gt;</font id=code></pre id=code>

or if you are using a style sheet you can put this
<pre id=code><font face=courier size=2 id=code>BODY {SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffcc;
SCROLLBAR-3DLIGHT-COLOR: #330099;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffc4;
SCROLLBAR-DARKSHADOW-COLOR: #ffcccc;
}
</font id=code></pre id=code>
in it.
Replied 04 Nov 2003 00:25:56
04 Nov 2003 00:25:56 Adil Khan replied:
Yes thanx for the reply,

I understand where u are coming from though I need to be concentrating on the &lt;div layer&gt; tags. Even though i have inserted similar code into my HTML taken from various websites. It still doesnt change colour and i am in desperate need to change the colour fo the scroll bar to the layer.

If its possible could you please help me on msn messenger. Ma msn account is

Edited by - kilo_4que on 04 Nov 2003 00:28:14
Replied 04 Nov 2003 11:31:49
04 Nov 2003 11:31:49 Wayne Hultum replied:
Are you saying it doesn't change any of the scrollbars or just the one on the layer.

If you just want the layer scrollbar to change colour you'll have to change
<pre id=code><font face=courier size=2 id=code>&lt;style&gt; <b>BODY</b> {
SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffcc;
SCROLLBAR-3DLIGHT-COLOR: #330099;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffc4;
SCROLLBAR-DARKSHADOW-COLOR: #ffcccc}
&lt;/style&gt;</font id=code></pre id=code>
to
<pre id=code><font face=courier size=2 id=code> &lt;style&gt;<b> .scrollbar</b> {
SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffcc;
SCROLLBAR-3DLIGHT-COLOR: #330099;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffc4;
SCROLLBAR-DARKSHADOW-COLOR: #ffcccc}
&lt;/style&gt; </font id=code></pre id=code>
in the <pre id=code><font face=courier size=2 id=code> &lt;div layer&gt;</font id=code></pre id=code> put <pre id=code><font face=courier size=2 id=code> &lt;div layer class="scrollbar"&gt; </font id=code></pre id=code>

hope it's clear enough
Wayne

Edited by - wayne1000 on 04 Nov 2003 15:35:05

Reply to this topic