What are the colors?

I

ID10Terror

Hi:

I have a problem with my scrollbar default colors. I have a css file that
changes the scrollbar colors on my webpage to something more my style and
color. My problem is that the textarea colors/scrollbar on my pages also
have those colors. Question ...

Can I somehow override something so that ONLY my main page scrollbars are my
color and the rest of the page (textarea's) are the default standard color?


TIA
 
S

Steve Easton

Be aware that colored scrollbars will not validate. IE is the only browser that will recognize
them.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
J

Jon Spivey

Steve,
They need to be applied to html rather than body. Most people do scrollbars
like this
<style type="text/css">
body {
scrollbar-base-color: #999;
...etc
}
</style>
This will fail on IE6 with a doctype
This will work on IE with a doctype
<style type="text/css">
html{
scrollbar-base-color: #999;
...etc
}
</style>
You're right that scrollbars are only supported on IE
 
S

Steve Easton

Thanks John. Didn't know that. ( among other things )
Now if you could just tell me how to get Mozilla to read the width and height of an image using
javascript, I would be a happy camper.

;-)

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
S

Steve Easton

Jon,

Even if I change it to html in the style sheet, it still won't validate with W3C.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
M

Murray

That's cause it's invalid code....

--
Murray

Steve Easton said:
Jon,

Even if I change it to html in the style sheet, it still won't validate
with W3C.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top