Internal Table Elements
CSS 2.1 makes a distinction between table elements and internal
table elements. A table element is any part of a table (including table
and caption
). Internal elements are just those elements that generate a cell (such as td
or th
), a row (tr
), a row group (rowgroup
), a column (col
), or a column group (colgroup
).
Internal table elements may have content, padding, and borders. Internal elements may not have margins and any margin settings provided will be ignored.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.