Gernot Back: Mozilla und TD -Element

Beitrag lesen

Hallo nochmal,

"<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."

Für Margin-Top und -Bottom betrifft das natürlich Height und nicht Width, welche bei Margin-Left und -Right relevant wäre.

da habe ich das möglicherweise bzgl. Table-Elementen selbst noch nicht ganz begriffen, wo eben auch bei Margin-Top und -Bottom die Width entscheidend ist, auch wenn sie "gefixt" ist.

Gruß Gernot