The Numerator wrote:
Quote:
Here's the dilemma:
[snip code]
But, the scrollbar [coloring] doesn't work. Then I took the DOCTYPE off, and it
worked, but the body was all messed up... Could someone tell me whats
going on and a offer a possible alternative? Thanks. |
Although I hardly agree with the bickering style of some of the responses you got, they
are in their essence right:
1) don't mess with user's browser
2) use standard css - scrollbar-face-color is not
Number one could be subject to debate, but not being standards-compliant is indeed what's
causing you trouble. If you include the DOCTYPE, browsers try to follow the standards, and
this also means ignoring the scrollbar-face-color directive. If you omit the DOCTYPE,
browsers jump into "quirks mode", allowing non-standard extension, but also behaving
strange in other ways - that's why the rest of the page gets garbled.
See
http://www.quirksmode.org/index.html...uirksmode.html for more.