Gunnar Bittersmann: MSIE: bestimmte tags im div formatieren

Beitrag lesen

Ashura,

Da fällt mir wieder ein, dass es bei XHMTL 1.0 Strict umgekehr _zwingend_ erforderlich ist.

Wie kommste denn darauf?

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd:
<!ENTITY % Block "(%block; | form | %misc;)*">

Und das ist valides XHMTL 1.0 Strict:

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="">  
 <head>  
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />  
  <title>Test</title>  
 </head>  
  
 <body>  
  <form action="http://example.net"></form>  
 </body>  
</html>  

Gunnar

--
I never intended HTML source code (the stuff with the angle brackets) to be seen by users. […] To my surprise, people quickly became familiar with the tags and started writing their own HTML documents directly. (Tim Berners-Lee in Weaving the Web)