Beat: Scrollbare Tabelle

Beitrag lesen

3 erlaubt es nämlich. [CSS3-BOX]

Habe ich mir vor deinem Post angeschaut, und bin zum Schluss gekommen, dass overflow nur auf block (non replaced) oder inline-block Elemente angewandt werden darf.

Click mal auf 'block'!

Zitat-Teil 1:
"A block-level box is a box that has a used value for ‘display’ of ‘block’, ‘list-item’, ‘table’, ‘table-*’ (i.e., all table boxes) or <template>."

OK, da gehören dann table-row-groups dazu.

Zitat-Teil 2:
" A block-level element is an element all of whose top-level non-anonymous boxes are block-level. "

WTF ist das???

Damit ein table-cell ein Blocklevel ist, muss es Blocklevel-Elemente enthalten. Erst dann ist auch das table-row ein block-level, erst dann das table-row-group ein block-level...

Wie auch immer...

Allerdings muss man beachten:
overflow und height treffen für table-row und table-row-group zu.
nicht aber min-height / max-height.

mfg Beat

--
><o(((°>           ><o(((°>
   <°)))o><                     ><o(((°>o
Der Valigator leibt diese Fische