views:

139

answers:

3

i'm not using

I'm only using this dtd as a first thing in a page? which has no problem to render strict mode.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt;

and checked quirks mode with this site http://vesa.piittinen.name/doctype/

(i can't give link of site which i'm working)

In IE 6 it shows almost standards mode. and in FF it shows full standards mode

Should i change my doctype to get same rendering in all browser?

i'm having a rendering problem in a site

+1  A: 

Based on the documentation on that site:

Internet Explorer 7 and 6 don't have a real non-quirks mode, it is similar to the limited quirks mode of the other browsers. IE 5.5 and before only have a quirks mode.

It is because the author is letting his dislike of Internet Explorer stop him from using the accepted terminology for the rendering modes of that browser. IE6 Standards/Strict Mode isn't "good enough" so he calls it "Limited Quirks Mode"

David Dorward
+3  A: 

Your doctype is fine..

The problem lies with a specific bug (IE6 double margin on floated elements) you are dealing in your other post.. See there for an answer to the problem ..

Gaby
A: 

Check here:

http://www.quirksmode.org/css/quirksmode.html1 - this is the right link.

Check the Compatibility Master Table. Do you HAVE to make it work for IE6? I would suggest trying to convince the client that IE6 is not a browser to use.

Aside from that, use 4.01 Strict and make sure you validate you pages.

tahdhaze09
That table says nothing about how to trigger quirks / standards modes.
David Dorward