mdn/css/1_css_building_blocks/14_styling_tables

14_styling_tables

dz / mdn / css / 1_css_building_blocks / 14_styling_tables

Summary

Styling Tables

Node Tree

Nodes

table
content table
children border_collapse, caption_side, letter_spacing, zebra_stripes, table_layout, text_align

table_layout
content table-layout
children fixed_more_predictable_than_default
parents table

border_collapse
content border-collapse: collapse
parents table

letter_spacing
content letter-spacing
parents table

text_align
content text-align
parents table

fixed_more_predictable_than_default
content "fixed" good idea. behaves more predictable than default
parents table_layout

zebra_stripes
content Zebra Stripes: alternating rows of color that make data in table easier to parse
children tr_nth_child
parents table

tr_nth_child
content tr: nth-child(odd/even)
parents zebra_stripes

caption_side
content caption-side
parents table