![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I do a fair amount of work with java and xml, so when I decided to learn how to make webpages, XHTML Transitional and/or Strict seemed like the best DOCTYPE (It's more orderly, less chaotic, closing all tags, etc). But the following link convinced me I have to switch back to 4.01 Strict or Transitional: http://hixie.ch/advocacy/xhtml |
|
.........Also, when IE6 is flipped into quirksmode, css (apparently) is handled differently. Quirksmode, therefore, is an important css issue. |
|
So, among other things, I gather it's important NOT to write code that flips IE6 (or any other browser) into any quirksmode. So this leads to my question: Let's say you are testing with IE6. You look at a remote page, or perhaps one of your own. How do you know if IE6 has been flipped into quirksmode or not? |
#3
| |||
| |||
|
| http://hsivonen.iki.fi/doctype/ http://dorward.me.uk/www/bookmarklets/qors/ sherm-- good stuff, good links. Thank you. |
#4
| |||
| |||
|
|
Let's say you are testing with IE6. You look at a remote page, or perhaps one of your own. How do you know if IE6 has been flipped into quirksmode or not? |
#5
| |||
| |||
|
|
How do you know if IE6 has been flipped into quirksmode or not? Type in address bar javascript:alert(document.compatMode); |
#6
| |||
| |||
|
|
Scripsit Jonathan N. Little: How do you know if IE6 has been flipped into quirksmode or not? Type in address bar javascript:alert(document.compatMode); Apparently it displays CSS1Compat in "standards" mode and BackCompat in "quirks" mode. I guess we can guess this from the values when we've seen then both, but as such, "CSS1Compat" sounds like "compatibility" to an outdated "standard", i.e. rather quirky. :-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |