Closed Thread Icon

Topic awaiting preservation: IE6 with !doctype Pages that link to <a href="https://ozoneasylum.com/backlink?for=7907" title="Pages that link to Topic awaiting preservation: IE6 with !doctype" rel="nofollow" >Topic awaiting preservation: IE6 with !doctype\

 
Author Thread
maestro
Nervous Wreck (II) Inmate

From: Somewhere out there
Insane since: Oct 2001

posted posted 10-27-2001 22:21

this aint exactly dhtml or javascript but hope to get some help here..

IE6 with !doctype
========================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>none</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
</head>
===========================================================
when i use the above, IE will not go into strict standards-compliant mode, that is, it will have the box model problem, intepreting the box model wrongly.

however if the <?xml ...> is removed, it is able go into the strict mode and intepret the box model properly...

BUT the strange thing is that the moment i removed the <?xml...> the scroller bar will not be displayed in the colors specified in the css !!

the same applies to the iframe in the same page!
so in order for the scroller bar to look like it's meant to be in the css, i haf to insert the <?xml..> but then IE will not go into the strict mode... and hence box model IS intepreted wrongly!!

in a dilemma...
can someone help?

evo.lanche - evolve. the only constant in life.

[yp]
Nervous Wreck (II) Inmate

From: Atlanta, GA, USA
Insane since: Nov 2001

posted posted 11-09-2001 01:52

yeah, i ran into this too.

turns out that it's one of the things they "fixed" when going to strict standards mode. the HTML element is the one that is responsible for the main scrollbar window now, so you'd have to do this to catch all versions of explorer:

html, body {
... custom scrollbar colors here ...
}

but, i actually recommend this instead:

* {
... custom scrollbar colors
}

which would make any scrollbar on the page have the specified colors- even those in listboxes and stuff like that.

like your mom, only more fun in the sack

« BackwardsOnwards »

Show Forum Drop Down Menu