Hi!
Purer Zufall. Firefox stellt die Seite genau so dar, wie dein Quellcode sie beschreibt. Wie der IE zu seiner Darstellung kommt, ist mir ein Rätsel. Welcher CSS-Bug jetzt genau dafür verantwortlich ist, weiß ich nicht.
Nachtrag: Der IE im Standardkonformen Modus stellt die Seite ebenfalls richtig dar. Da du keinen Doctype angegeben hattest, wurde der IE natürlich in den Quirks-Mode geschaltet. Kopiere mal folgenden Doctype an den Anfang der Datei:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Tadaa!
Siehe auch Box-Modell / Doctype Switch (SelfHTML)
mfG
--
Selfcode: ie:} fl:{ br:> va:) ls:< fo:( rl:? n4:# ss:| de:] js:| ch:? sh:( mo:? zu:)
"And all those exclamation marks, you notice? Five? A sure sign of someone who wears his underpants on his head."
(Terry Pratchett)
Selfcode: ie:} fl:{ br:> va:) ls:< fo:( rl:? n4:# ss:| de:] js:| ch:? sh:( mo:? zu:)
"And all those exclamation marks, you notice? Five? A sure sign of someone who wears his underpants on his head."
(Terry Pratchett)