HighDots Forums  

Re: <!DOCTYPE> and CSS Scroll bar

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: <!DOCTYPE> and CSS Scroll bar in the HTML forum.



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

Default Re: <!DOCTYPE> and CSS Scroll bar - 03-26-2006 , 08:38 AM






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.


Reply With Quote
  #2  
Old   
Michael Winter
 
Posts: n/a

Default Re: <!DOCTYPE> and CSS Scroll bar - 03-26-2006 , 02:43 PM






On 26/03/2006 14:38, Mitja Trampus wrote:

[snip]

Quote:
If you include the DOCTYPE, browsers try to follow the standards,
True.

Quote:
and this also means ignoring the scrollbar-face-color directive.
That isn't the case for IE, though it would appear to be for Opera.

[snip]

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.


Reply With Quote
  #3  
Old   
Mitja Trampus
 
Posts: n/a

Default Re: <!DOCTYPE> and CSS Scroll bar - 03-26-2006 , 04:27 PM



Michael Winter wrote:
Quote:
On 26/03/2006 14:38, Mitja Trampus wrote:

[snip]

If you include the DOCTYPE, browsers try to follow the standards,
and this also means ignoring the scrollbar-face-color directive.

That isn't the case for IE, though it would appear to be for Opera.
I stand corrected
I wrote that without testing it, relying on OT saying that he doesn't get colored
srollbars if he removes the doctype. Apparently he does care about Opera...

I should perhaps also have mentioned that scrollbar-face-color is a no-go with
Firefox/Mozilla/Netscape.


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

Default Re: <!DOCTYPE> and CSS Scroll bar - 03-27-2006 , 02:16 AM



Once upon a time *The Numerator* wrote:
Quote:
Thanks...

To what?
Those ?&%¤#" Google users!

How to quote from Google: http://www.safalra.com/special/googlegroupsreply/

--
/Arne

Google Group Users, read about The Usenet Improvement Project:
http://blinkynet.net/comp/uip5.html


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 - 2008, Jelsoft Enterprises Ltd.