Internet Explorer bug - CSS and DOCTYPES

Q&A, advice, reviews, and news about the computers, phones, TVs, stereos, and pretty much anything else that can't be easily whittled out of a stick or chipped out of stone.
Locked
Newgy
Redshirt
Posts: 84
Joined: Mon Feb 17, 2003 12:50 pm
Contact:

Internet Explorer bug - CSS and DOCTYPES

Post by Newgy » Wed Jul 16, 2003 10:28 pm

It seems that Internet explorer 6 does not display certain CSS elements when a DOCTYPE is specified. for the record i am using

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
When this is present the scrollbar color CSS elements dont work. My question: is this an Interent explorer bug, or are the scrollbar CSS elements not allowed? from what I can see in the DTD specified above, they sould be allowed.
BD&U - a friends comic, we need hits!!

User avatar
TopCat
Redshirt
Posts: 3783
Joined: Wed May 21, 2003 1:34 am
Gender: Male
Contact:

Post by TopCat » Wed Jul 16, 2003 11:02 pm

HELL! mozilla hates xml documents that ie understands easy. especially the signin to there.
hahaha i don't come to these forums anymore :x

enisoc
Smaointe
Posts: 948
Joined: Tue Feb 11, 2003 7:55 pm
Gender: Male
Location: Berkeley, CA
Contact:

Post by enisoc » Wed Jul 16, 2003 11:44 pm

The scrollbar color elements supported by IE6 are nonstandard extensions. I'm guessing that perhaps the doctype places IE into a more compliant mode in which certain extensions are no longer supported.
By posting the above, I am doing my part to help combat the Great Forum Recession of 2009. Please consider contributing to the bailout of our once great forum by posting a reply to this thread. Thank you for your time and consideration.
FireAza wrote:Are you sure your baby isn't a chimp?

Newgy
Redshirt
Posts: 84
Joined: Mon Feb 17, 2003 12:50 pm
Contact:

Post by Newgy » Thu Jul 17, 2003 9:10 am

It must be specific doctypes: phpBB uses

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
and can have scroll bars of any colour. the only differneces between that and my doctype is that phpBB uses html rather than xhtml, and my doctype specifies a DTD. Does anyone have any idea which is causing the problem?

<edit> I messed around for a while and descovered the extent of the IE feature/bug. it will only show the scroll bar when the doctype is html transitional or there is not doctype at all.</edit>
BD&U - a friends comic, we need hits!!

Locked

Who is online

Users browsing this forum: No registered users and 1 guest