Click to See Complete Forum and Search --> : CSS code not working on personal site...


TyMac
09-11-2004, 05:35 AM
I just updated the CSS code on my personal site for nice colored scroll bars: www.tyler.mcadams.com

But one page, the page under the "illustrator works", the scroll bars are not updating for some reason.

The code was inserted the same on every page.... what's the deal?

You need IE to see it correctly... thanks in advance for your help!;)

richardginn
09-11-2004, 09:18 AM
I am not seeing anything wrong????:confused: :confused: :confused:

Loser-P
09-11-2004, 12:43 PM
The problem has to do with your doctype for that page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
the url at the end causes browsers to run in strict rendering mode that follows the html specs closer, the code to make the scroll bars different colors isn’t part of the html specs it’s just some proprietary stuff MS came up with for IE so when running in strict rendering mode IE won’t display the colored scroll bars.

TyMac
09-11-2004, 06:47 PM
Originally posted by Loser-P
The problem has to do with your doctype for that page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
the url at the end causes browsers to run in strict rendering mode that follows the html specs closer, the code to make the scroll bars different colors isn’t part of the html specs it’s just some proprietary stuff MS came up with for IE so when running in strict rendering mode IE won’t display the colored scroll bars.

Ok... I'll try taking that out and see what it does. thx!