Page 1 of 1

problem adding CSS to pages

Posted: Sun Jun 08, 2008 7:04 am
by Monopoly
I'd like to change the scrollbar colour , so I add these things in between the <head> tags:

<style type="text/css">
body {
scrollbar-face-color:darkred;
scrollbar-highlight-color:darkgray;
scrollbar-3dlight-color:gray;
scrollbar-darkshadow-color:darkgray;
scrollbar-shadow-color:gray;
scrollbar-arrow-color:darkgray;
scrollbar-track-color:darkgray;
}
</style>

This code works well on pages made by me , but when I add it to a page made in Dreamweaver by some people, the colour of the scroll bar doesn't change . :banghead:

What is the problem ?? :roll:
Thank you

Re: problem adding CSS to pages

Posted: Sun Jun 08, 2008 1:59 pm
by califdon
I'd make a wild guess that the Dreamweaver-generated HTML overrides the style with inline styles. Have you checked?

Re: problem adding CSS to pages

Posted: Tue Jun 10, 2008 1:54 am
by Monopoly
Dreamweaver overrides not only inline styles ...

Man , are there any solutions ???????? :(

Re: problem adding CSS to pages

Posted: Tue Jun 10, 2008 1:59 am
by Benjamin
Here is a solution which states that you must have an invalid doctype:

http://www.ozzu.com/website-design-foru ... 20762.html