go************@kjsmith.com (Karl Smith) wrote:
http://users.tpg.com.au/karl6740/css/multi-mode_2.html
- uses "CSS1Compat" mode in MSIE 6 and Mozilla 1.6 but "QuirksMode"
mode in Opera 7.23.
Can anyone tell me why it is provoking the same mode in Mozilla as it
is MSIE?
Looks like Moz is somehow using the doctype inside the conditional
comment to determine the rendering mode.
<!--[if IE]>
<!DOCTYPE html PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup
Language//EN">
<![endif]-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Triggers CSS1Compat.
<!--[if IE]>
<![endif]-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Triggers BackCompat.
<!--
<!DOCTYPE html PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup
Language//EN">
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Triggers BackCompat.
Looks like a bug. If I had the energy I'd search Bugzilla for it.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>