Thomas Luethi: table in mozilla nicht auf 100 PROZENT

Beitrag lesen

Hallo,

Du behauptest mal wieder (!) Zeugs zusammen, das weder Hand noch Fuss hat.
=> Langsam ueberlege ich mir, Dich zu plonken (/my/-Ansicht).

html, body { margin:0; border:0 none; padding:0; }
noch korrekter wäre folgendes:
body { margin:0px; border:0px none; padding:0px; }

  1. reicht Body völlig aus (head wird nicht dargestellt etc.)

Das html { } ist ganz bewusst drin, weil Opera es braucht.

  1. px, damit Mozilla weiß, welche Einheit gemeint wird. Ohne irgendeine Angabe funktionierts nicht immer (border: 1 solid black zum Beispiel)

Bei Null (0) _darf_ man die Einheit weglassen.
0 cm = 0 mm = 0 px = 0 em
http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-length
"After the '0' length, the unit identifier is optional."

Gruesse,

Thomas