Layout Secret Weapon #1: The CSS Table Property

The

#row {
   display: table-cell;
}

part in the demo for the wide screen seems to be redundant. All it does is wrapping the whole “main content” + #right_col structure in an anonymous single-cell table box, but it works just fine with the usual display:block because two contiguous table-cells already form an anonymous table box. So the outer single-cell table structure doesn’t add anything to it.

1 Like