Ashura: IE ignoriert margin: auto (manchmal)

Beitrag lesen

Hallo.

Ich glaube dann bin ich nicht im Quirksmodus.So lautet mein doctype:

~~~php

echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN\n".

""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n".

  
Noch ein kleiner Tipp. Mache es dir nicht so schwer:  
  
`echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n";`{:.language-php}  
  
Damit ersparst du dir die ganze Maskiererei. (Warum schreibst du den DOCTYPE eigentlich nicht direkt in dein Dokument? Ich frage nur aus Prinzip.)  
  
  
Einen schönen Montag noch.  
  
Gruß, Ashura  

-- 
Selfcode: sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:) fl:( ss:) ls:[ js:|  
[30 Days to becoming an Opera8 Lover](http://operalover.tntluoma.com/8/) -- [Day 21: Toolbars](http://operalover.tntluoma.com/8/day_21_toolbars)  
Meine Browser: [Opera 8.01](http://my.opera.com/noctus/affiliate/download/) | Firefox 1.0.6 | Lynx 2.8.5 | Netscape 4.7 | IE 6.0  
[\[Deshalb frei! - Argumente pro freie Software\]](http://deshalbfrei.org/)