problem adding CSS to pages

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Monopoly
Forum Commoner
Posts: 41
Joined: Wed May 21, 2008 1:19 pm

problem adding CSS to pages

Post 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
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: problem adding CSS to pages

Post by califdon »

I'd make a wild guess that the Dreamweaver-generated HTML overrides the style with inline styles. Have you checked?
Monopoly
Forum Commoner
Posts: 41
Joined: Wed May 21, 2008 1:19 pm

Re: problem adding CSS to pages

Post by Monopoly »

Dreamweaver overrides not only inline styles ...

Man , are there any solutions ???????? :(
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: problem adding CSS to pages

Post by Benjamin »

Here is a solution which states that you must have an invalid doctype:

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