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 | #float1, #float2 { |
michael@0 | 6 | width: 100px; |
michael@0 | 7 | height: 20px; |
michael@0 | 8 | background-color: green; |
michael@0 | 9 | margin-right: auto; |
michael@0 | 10 | } |
michael@0 | 11 | #spacer { |
michael@0 | 12 | height: 30px; |
michael@0 | 13 | } |
michael@0 | 14 | </style> |
michael@0 | 15 | </head> |
michael@0 | 16 | <body> |
michael@0 | 17 | <div id="container"> |
michael@0 | 18 | <div id="float1"></div> |
michael@0 | 19 | <div id="spacer"></div> |
michael@0 | 20 | <div id="float2"></div> |
michael@0 | 21 | </div> |
michael@0 | 22 | </body> |
michael@0 | 23 | </html> |