Hallo Norbert,
Jetzt wirds aber interessant - ich dachte, dass gerade CSS konform ist
Konform zu was?
HTML/XHTML:
Das height-Attribut innerhalb von TABLE, TR, TD gehört nicht zum Standard von HTML/XHTML
CSS1:
Das height-Attribut ist eigentlich nur für Grafiken oder Text gedacht:
Zitat W3C: "height: This property can be applied to text, but it is most useful with replaced elements such as images. The height is to be enforced by scaling the image if necessary."
CSS2:
Wenn ich das richtig sehe, soll das height-Attribut zukünftig auch für Tabellen gelten können - aber welcher Browser setzt das schon um.
Es gibt ja mehr als IE.
Zitat W3C: "CSS2 does not specify rendering when the specified table height differs from the content height, in particular whether content height should override specified height; if it doesn't, how extra space should be distributed among rows that add up to less than the specified table height; or, if the content height exceeds the specified table height, whether the UA should provide a scrolling mechanism. Note. Future versions of CSS may specify this further."
Schöne Grüße
Thorsten Strausbach (Agentur 4e)