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 | <title>Percent widths on table cells</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | |
michael@0 | 7 | td > table { |
michael@0 | 8 | border-spacing: 3px 5px; |
michael@0 | 9 | padding: 2px 3px 4px 5px; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | td { |
michael@0 | 13 | border: none; |
michael@0 | 14 | padding: 0; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | span { |
michael@0 | 18 | display: inline-block; |
michael@0 | 19 | width: 50px; |
michael@0 | 20 | background: fuchsia; |
michael@0 | 21 | color: fuchsia; |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | </style> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body> |
michael@0 | 27 | |
michael@0 | 28 | <table border><tr><td> |
michael@0 | 29 | <table><tr> |
michael@0 | 30 | <td style="background: yellow;color:yellow;width:100px"><span>x</span></td> |
michael@0 | 31 | <td style="background:aqua;color:aqua;width:100px"><span>x</span>​<span>x</span>​<span>x</span></td> |
michael@0 | 32 | </tr></table> |
michael@0 | 33 | </td></tr></table> |
michael@0 | 34 | |
michael@0 | 35 | </body> |
michael@0 | 36 | </html> |