By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,724 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,724 IT Pros & Developers. It's quick & easy.

Multiple rendering modes for same page

P: n/a
This page:

http://users.tpg.com.au/karl6740/css/multi-mode_1.html

- uses "CSS1Compat" mode in Opera 7.23 but "BackCompat" mode in MSIE 6
and "QuirksMode" in Mozilla 1.6.

Whereas this page:

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?

--
Karl Smith.
(Yes folks, I'm doing my bit to make the situation even more
complicated than it is already. Why should Meyer and Hickson have all
the fun?)
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/>
Jul 20 '05 #2

P: n/a
Steve Pugh <st***@pugh.net> wrote:
Looks like a bug. If I had the energy I'd search Bugzilla for it.


It's bug 235798 now.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.