467,074 Members | 923 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

Multiple rendering modes for same page

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
  • viewed: 1620
Share:
2 Replies
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
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.

Similar topics

2 posts views Thread by Gaurav Vaish | last post: by
3 posts views Thread by Arun | last post: by
2 posts views Thread by Vi | last post: by
1 post views Thread by tedqn@yahoo.com | last post: by
10 posts views Thread by crazycooter@gmail.com | last post: by
3 posts views Thread by SAL | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.