Thomas Luethi: Weder MSIE noch Opera kommen mit float klar?

Beitrag lesen

Hallo,

  1. float
    ist nicht valide ohne Breitenangabe!
    Im Ernst?

Ja, leider.
http://selfhtml.teamone.de/css/eigenschaften/positionierung.htm#float
  "Wenn Sie für ein Element eine Angabe zu float notieren,
  müssen Sie auch eine Angabe zu  width definieren."

Glaubst Du nicht? OK, hier die Spec.:
http://www.w3.org/TR/REC-CSS2/visuren.html#floats
  "A floated box must have an explicit width
  (assigned via the 'width' property, or its
  intrinsic width in the case of replaced elements)."

Gruesse,

Thomas

--
Dank /my/ automatisch ausgeblendet: JavaScript, ASP.
Manuell "ausgeblendet": Threads mit Frames, Iframes und Scrollbalken im Subject...
Bitte keine Mails mit Fachfragen - dafuer gibt es das Forum!