<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
    <title>Comments for Scrollbar colors</title>
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors" />
    <link rel="self" type="application/atom+xml" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors" />
    <id>tag:bradchoate.com,2007://4-</id>
    <updated>2005-08-19T09:44:51Z</updated>
    <subtitle>The man, the legend.</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type -en-trunk--20070910</generator>
 

<entry>
    <id>tag:bradchoate.com,2002://4.477-comment:30</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2002://4.477" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors#c30" />
    <title>Comment from Chris Pirillo on 2002-02-27</title>
    <author>
        <name>Chris Pirillo</name>
        <uri>http://chris.pirillo.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://chris.pirillo.com/">
        I had the same problem; it was remedied by removing any "doctype" or "content type" references in the header. Try that. It should work.]]>
    </content>
    <published>2002-02-27T09:11:12Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2002://4.477-comment:31</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2002://4.477" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors#c31" />
    <title>Comment from Brad on 2002-02-27</title>
    <author>
        <name>Brad</name>
        <uri>http://www.bradchoate.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.bradchoate.com/">
        You are correct sir! I guess Microsoft considers that feature something that belongs in the 'quirks' mode that is turned off with proper DOCTYPE and XHTML like I'm trying to do. Strange that all the inner scroll bars use the colors-- you'd think that if those descriptors are disabled, they'd be disabled for everything. Anyway, many thanks Chris. Keep up the good work my friend.]]>
    </content>
    <published>2002-02-27T09:38:33Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2002://4.477-comment:39</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2002://4.477" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors#c39" />
    <title>Comment from Jesse Ruderman on 2002-03-03</title>
    <author>
        <name>Jesse Ruderman</name>
        <uri>http://www.squarefree.com/bookmarklets/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.squarefree.com/bookmarklets/">
        Try changing the "body" for the scrollbar rules to "html, body" or "*".  Then you should be able to include the strict doctype and still see the styled scrollbars.

<p>Internet Explorer (non-quirks-mode only) and Mozilla consider "body" to mean "a block containing all of the page's content" and consider "html" to mean "the viewport".  Try applying "body { border: 1px solid red; }" to a short page, with and without a doctype, to see what I mean.  Since the scrollbar is a viewport thing, it makes sense for styles on the html element to apply but not on the body element.  (Note: the bgcolor property is an exception to this rule, so bgcolor always to the viewport for both html and body.)</p>

<p>I do not know the history behind the decision to make body be just the content.</p>]]>
    </content>
    <published>2002-03-03T13:47:52Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2002://4.477-comment:45</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2002://4.477" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors#c45" />
    <title>Comment from Jesse Ruderman on 2002-03-05</title>
    <author>
        <name>Jesse Ruderman</name>
        <uri>http://www.squarefree.com/bookmarklets/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.squarefree.com/bookmarklets/">
        Thanks, by the way.  Now I know why my user style sheet of IE wasn't working correctly on some sites.  I had "body, frameset { border-right: 0px ! important }" in my user style sheet to keep the scrollbar at the right edge of the screen instead of 2 pixels from the right edge of the screen.  The trick didn't work at some sites, including my site, but it didn't occur to me that it was my doctype that was preventing it from working.]]>
    </content>
    <published>2002-03-05T08:49:44Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2002://4.477-comment:948</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2002://4.477" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2002/02/26/scrollbar-colors#c948" />
    <title>Comment from Dracusis on 2003-04-23</title>
    <author>
        <name>Dracusis</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        No, it's not the DocType. You really shouldn't be removing the Doctype, that's the most important bit of the document!

<p>Just shift the {border-right: 0px ! important} rule into a html {} selector and all should be fine.</p>]]>
    </content>
    <published>2003-04-24T05:48:18Z</published>
</entry>


</feed>
