HighDots Forums  

scroll bars

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss scroll bars in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
subregion
 
Posts: n/a

Default scroll bars - 07-07-2004 , 05:07 AM






created a scroll but cant seem to alter its colour, not able to find it in the
bible..
does anyone know if you can change the colour of them?

I have made this beautifull sit (my opinion) but the scrollbar colouor kindda
clashes with the background
All suggestions are very welcome.

regards


Reply With Quote
  #2  
Old   
ZhongQiang
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 05:26 AM






Hi SubRegion,

BODY { scrollbar-3d-light-color:white;
scrollbar-arrow-color:white;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#333333;
scrollbar-face-color:#009999;
scrollbar-highlight-color:white;
scrollbar-shadow-color:black}

above should be what you might be looking for. Just paste the code within the
styles tag in the <Head> and edit the values accordingly.

Originally posted by: subregion
created a scroll but cant seem to alter its colour, not able to find it in the
bible..
does anyone know if you can change the colour of them?

I have made this beautifull sit (my opinion) but the scrollbar colouor kindda
clashes with the background
All suggestions are very welcome.

regards




Reply With Quote
  #3  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 05:36 AM



ZhongQiang wrote:

Quote:
Hi SubRegion,

BODY { scrollbar-3d-light-color:white;
scrollbar-arrow-color:white;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#333333;
scrollbar-face-color:#009999;
scrollbar-highlight-color:white;
scrollbar-shadow-color:black}

Almost:
Change "BODY" to "HTML",. and it'll work better.
But you do know that it's only IE on Win that will change the scroll bar
colors, right?


Reply With Quote
  #4  
Old   
ZhongQiang
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 07:43 AM



yeah.. i know.. only IE5.5 and above in Windows allows a change for the
colours. Netscape and earlier versions of IE does not.

Originally posted by: Newsgroup User
ZhongQiang wrote:

Quote:
Hi SubRegion,

BODY { scrollbar-3d-light-color:white;
scrollbar-arrow-color:white;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#333333;
scrollbar-face-color:#009999;
scrollbar-highlight-color:white;
scrollbar-shadow-color:black}

Almost:
Change "BODY" to "HTML",. and it'll work better.
But you do know that it's only IE on Win that will change the scroll bar
colors, right?





Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 08:06 AM



ZhongQiang:

By using BODY rather than HTML, you will only get the color effect on pages
that either do not contain a doctype, or that contain a broken one (like all
pages created with DMX or earlier). On a page created by DMX2004 (with a
valid doctype) you need to use the HTML tag.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

"ZhongQiang" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
yeah.. i know.. only IE5.5 and above in Windows allows a change for the
colours. Netscape and earlier versions of IE does not.

Originally posted by: Newsgroup User
ZhongQiang wrote:

Hi SubRegion,

BODY { scrollbar-3d-light-color:white;
scrollbar-arrow-color:white;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#333333;
scrollbar-face-color:#009999;
scrollbar-highlight-color:white;
scrollbar-shadow-color:black}


Almost:
Change "BODY" to "HTML",. and it'll work better.
But you do know that it's only IE on Win that will change the scroll bar
colors, right?






Reply With Quote
  #6  
Old   
subregion
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 08:19 AM



well since im a complete noob on tags... (reason I started DW)
I guess I will have to learn eventualy...

So its not possible in design mode, is it....?
I made a page containing scrollbars in design mode but if I look at that code,
what you guys offered is not there,
I assume its entwinged in DW's design itself and not editable unless you work
in code mode

In design mode you cant see the scrollbars, you just have to assume they are
there,
If I implement those tags, I probably need to re do the page....?

o.O, im suchha noob on code...
I used to do basic, tried hexadecimal and went insane, trew the book out of
the window
that was 1985, working on Commodore and Spectrum...

anyway thx


Reply With Quote
  #7  
Old   
ZhongQiang
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 08:38 AM



Hi murray
what exactly does the doc-type does and how would it affect the page should it
be invalid?
Originally posted by: Newsgroup User
ZhongQiang:

By using BODY rather than HTML, you will only get the color effect on pages
that either do not contain a doctype, or that contain a broken one (like all
pages created with DMX or earlier). On a page created by DMX2004 (with a
valid doctype) you need to use the HTML tag.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

"ZhongQiang" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
yeah.. i know.. only IE5.5 and above in Windows allows a change for the
colours. Netscape and earlier versions of IE does not.

Originally posted by: Newsgroup User
ZhongQiang wrote:

Hi SubRegion,

BODY { scrollbar-3d-light-color:white;
scrollbar-arrow-color:white;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#333333;
scrollbar-face-color:#009999;
scrollbar-highlight-color:white;
scrollbar-shadow-color:black}


Almost:
Change "BODY" to "HTML",. and it'll work better.
But you do know that it's only IE on Win that will change the scroll bar
colors, right?







Reply With Quote
  #8  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 08:51 AM



Here's the deal (you can read all about Doctypes at http://www.w3.org).

A doctype on an HTML page tells the browser how to render the page. If
there is no doctype, or if there is an invalid one, the page is rendered in
quirks mode. If there is a valid doctype, the page is rendered in standards
mode.

DMX inserted a broken doctype on the page (i.e., functionally equivalent to
no doctype). Earlier versions inserted NO doctype. Hence, all these pages
are rendered in quirks mode.

In quirks mode, the browser makes an attempt to render invalid HTML. Not
all browsers attempt the same rendering - so you will see a variety of
differences, comparing one browser to the next on the same page.

In standards mode, the browsers all render the same (so they say - but in
practice, while not true, it's much more uniform).

In standards mode, the scrollbars belong to the HTML tag. That's why your
suggestion won't work in DMX2004 pages.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

"ZhongQiang" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi murray
what exactly does the doc-type does and how would it affect the page
should it
be invalid?
Originally posted by: Newsgroup User
ZhongQiang:

By using BODY rather than HTML, you will only get the color effect on
pages
that either do not contain a doctype, or that contain a broken one (like
all
pages created with DMX or earlier). On a page created by DMX2004 (with a
valid doctype) you need to use the HTML tag.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

"ZhongQiang" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:ccgnkb$gap$1 (AT) forums (DOT) macromedia.com...
yeah.. i know.. only IE5.5 and above in Windows allows a change for the
colours. Netscape and earlier versions of IE does not.

Originally posted by: Newsgroup User
ZhongQiang wrote:

Hi SubRegion,

BODY { scrollbar-3d-light-color:white;
scrollbar-arrow-color:white;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#333333;
scrollbar-face-color:#009999;
scrollbar-highlight-color:white;
scrollbar-shadow-color:black}


Almost:
Change "BODY" to "HTML",. and it'll work better.
But you do know that it's only IE on Win that will change the scroll
bar
colors, right?









Reply With Quote
  #9  
Old   
ZhongQiang
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 09:04 AM



but if my site is html4.0 validated, it also means that my site does has a valid doc-type rite?

Reply With Quote
  #10  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: scroll bars - 07-07-2004 , 09:15 AM



Yes. And it means that by redefining the body tag for the scrollbar, you
will not see the style applied.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
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
==================

"ZhongQiang" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
but if my site is html4.0 validated, it also means that my site does has a
valid doc-type rite?




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.