Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | #block1, #block2 { |
michael@0 | 6 | height: 20px; |
michael@0 | 7 | background-color: green; |
michael@0 | 8 | } |
michael@0 | 9 | #table { |
michael@0 | 10 | width: 100px; |
michael@0 | 11 | margin-right: auto; |
michael@0 | 12 | } |
michael@0 | 13 | #caption { |
michael@0 | 14 | height: 20px; |
michael@0 | 15 | background-color: blue; |
michael@0 | 16 | } |
michael@0 | 17 | .spacer { |
michael@0 | 18 | height: 30px; |
michael@0 | 19 | } |
michael@0 | 20 | </style> |
michael@0 | 21 | </head> |
michael@0 | 22 | <body> |
michael@0 | 23 | <div id="block1"></div> |
michael@0 | 24 | <div class="spacer"></div> |
michael@0 | 25 | <div id="table"> |
michael@0 | 26 | <div id="caption"></div> |
michael@0 | 27 | </div> |
michael@0 | 28 | <div class="spacer"></div> |
michael@0 | 29 | <div id="block2"></div> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |