wahsaga: Mozilla und TD -Element

Beitrag lesen

hi,

ist das ein Bug, dass der Mozilla das nicht kann:

Er kann es.

<td valign="top" style="padding-top:3%; margin-top:10%;">

Egal ob ich padding oder margin angebe, der Mozilla placiert den Inhalt immer ganz oben.

http://www.w3.org/TR/CSS21/box.html#margin-properties:
"'margin-top', 'margin-bottom'
Applies to:   all elements except elements with table display types other than table and inline-table"

http://www.w3.org/TR/CSS21/box.html#padding-properties:
"'padding-top', 'padding-right', 'padding-bottom', 'padding-left'
Applies to:   all elements except elements with table display types other than table, inline-table, and table-cell"

und

"<percentage>
The percentage is calculated with respect to the width of the generated box's containing block, even for 'padding-top' and 'padding-bottom'. If the containing block's width depends on this element, then the resulting layout is undefined in CSS 2.1."

gruß,
wahsaga

--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }