XHTML DOCTYPE Not Allowing Scrollbar Customization

liunx

Guest
All morning I have been trying to get a simple scroll bar customization to work and have discovered that it only works if the following XHTML DOCTYPE text is deleted:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I must keep the DOCTYPE declaration. Is there a work-around for this?

Thanks in advance.

stringmanScroll bar is part of user browser NOT your web site. Real browsers do not allow scroll bar coloring at all.
Solution: do not waste your time on useless and annoying things.That is not a solution. That is an opinion. I realize that this is only an IE thing, but on the other hand, the scrollbar doesn't look so bad in Netscape.

The Web is not just about content. Those who think it is are the ones developing all those "eyesores" on the Internet. There is absolutely no reason why I should not add a little more "richness" to my Web pages. Granted, almost every customized scrollbar I have seen has been ugly. However, I can guarantee my scroll bar looks better than Microsoft's.

If anyone has an answer to my question, I would appreciate it.

stringmanOnce again that is USER INTERFACE not your web page.Probable cause (<!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=26222&highlight=scrollbar">http://forums.webdeveloper.com/showthre ... =scrollbar</a><!-- m -->)Thank you Fang. That did the trick.hm.. i thought this thread sounded familiar. Back in da n00b daiiz when I was still on geocities.

Colored scrollbars do seem nifty, but they're actually pretty lame. The default scrollbars look more professional, actually, and no good browsers support shizzy proprietary stuff.

And please, dont trash peoplez here. They know what they're talking about.
------------------------
if u won't listen to reason, using

html, body {
scrollbar-shi*: color;
}

will work.
 
Back
Top