![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please take a look at: http://www.omeganet.de/test/test.html The correctness of both files was ensured by check with the validators from w3.org. The file shows up correctly in Mozilla 1.4, but IE6 SP1 doesn't display anything besides the title, and Opera only shows crap. Could anyone of you help again: What's the code passage which IE doesn't like, and is it a bug or once more a feature? How can I correct it? |
#3
| |||
| |||
|
|
but isn't shown at all in IE6 SP1. |
#4
| |||
| |||
|
|
it's me again... since I have learned many things with the help of you, I have put together an example which is compliant to XHTML 1.0 strict and to CSS 2, but isn't shown at all in IE6 SP1. Please take a look at: http://www.omeganet.de/test/test.html |
|
The correctness of both files was ensured by check with the validators from w3.org. The file shows up correctly in Mozilla 1.4, but IE6 SP1 doesn't display anything besides the title, and Opera only shows crap. |
#5
| |||
| |||
|
|
Peter Pfannenschmid: Please take a look at: http://www.omeganet.de/test/test.html [...] The validator does not really say that your page is valid XHTML 1.0 Strict. Instead it says: This Page Is Valid -//W3C//DTD XHTML 1.0 STRICT//EN! Normally the message reads like this: This Page Is Valid XHTML 1.0 Strict! The reason seams to be that you've written "STRICT" instead of "Strict". I've no idea if that can be the reason for the display problems. It's more likely that you've done something strange with your layout table, the form tags, the empty header, the empty divs, etc. Or the problem could be the many "option"s. |
#6
| |||
| |||
|
|
Please take a look at: http://www.omeganet.de/test/test.html I have corrected the DOCTYPE issue as advised - thanks for the tip. Now the validator tells what it should tell, but IE6 SP1 still does not show any piece of the page besides the title. |
#7
| |||
| |||
|
| http://www.omeganet.de/test/test.html It's the script element. Change script type="text/javascript" src="/jscript/navig.js" / to script type="text/javascript" src="/jscript/navig.js"></script and IE and Opera will both render it just fine. Using <foo /> for anything other than elements that don't have end tags in HTML (i.e. elements whose content model is not EMPTY) is not recommended, and you've just discovered why. |
#8
| |||
| |||
|
|
I'll just fill in that doing so is not recommended when you're serving the XHTML as "text/html", targeting old browsers that have no idea what XHTML is. If you serve XHTML as "application/xhtml+xml" (the way XHTML should be served) then there is no problem with "<script .../>". So validity is not enough. |
#9
| |||
| |||
|
|
Mozilla is fixing up that tag-soup in what is IMO a bad way. |
#10
| ||||
| ||||
|
|
In article <401d5c37.16066121 (AT) news (DOT) cis.dfn.de>, jim (AT) jibbering (DOT) com (Jim Ley) writes: Mozilla is fixing up that tag-soup in what is IMO a bad way. That's a bit harsh, innit? Moz's parser is basically XML, |
|
and its handling of HTML is by normalisation-to-XHTML. |
|
Like the validator, it can sniff for XHTML 1.0 doctypes and apply Appendix C rules. |
|
And jumping from Appendix C to a bit of real XML isn't so bad. |
![]() |
| Thread Tools | |
| Display Modes | |
| |