Why is table formatting a challenge?
Tables contain multiple nested elements
Each nested element has its own
formatting properties
– Table: width, borders, background, etc.
– Caption: font, colour, margin, position, etc.
– Column: width
– Table header: background
– Table cells: alignment, padding, borders,
background, font, colour, etc.
How can we control all of this with a
single style?