Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <meta charset="utf-8"> |
michael@0 | 5 | <style> |
michael@0 | 6 | .table { |
michael@0 | 7 | display: table; |
michael@0 | 8 | width: 100px; |
michael@0 | 9 | table-layout: fixed; |
michael@0 | 10 | margin-bottom: 2px; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | .table > * { |
michael@0 | 14 | box-sizing: border-box; |
michael@0 | 15 | display: table-cell; |
michael@0 | 16 | height: 30px; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | .withBorder { border: 2px solid black; } |
michael@0 | 20 | |
michael@0 | 21 | .thin { width: 25px; } |
michael@0 | 22 | .wide { width: 75px; } |
michael@0 | 23 | |
michael@0 | 24 | .teal { background: teal; } |
michael@0 | 25 | .purple { background: purple; } |
michael@0 | 26 | </style> |
michael@0 | 27 | </head> |
michael@0 | 28 | <body> |
michael@0 | 29 | <div class="table"> |
michael@0 | 30 | <div class="thin teal"></div> |
michael@0 | 31 | <div class="wide purple"></div> |
michael@0 | 32 | </div> |
michael@0 | 33 | <div class="table"> |
michael@0 | 34 | <div class="thin teal"></div> |
michael@0 | 35 | <div class="wide purple"></div> |
michael@0 | 36 | </div> |
michael@0 | 37 | <div class="table"> |
michael@0 | 38 | <div class="thin withBorder teal"></div> |
michael@0 | 39 | <div class="wide withBorder purple"></div> |
michael@0 | 40 | </div> |
michael@0 | 41 | <div class="table"> |
michael@0 | 42 | <div class="thin withBorder teal"></div> |
michael@0 | 43 | <div class="wide withBorder purple"></div> |
michael@0 | 44 | </div> |
michael@0 | 45 | </body> |
michael@0 | 46 | </html> |