Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 4 | |
michael@0 | 5 | The green square should always be rendered at 100px. |
michael@0 | 6 | --> |
michael@0 | 7 | <!DOCTYPE html> |
michael@0 | 8 | <html> |
michael@0 | 9 | <head> |
michael@0 | 10 | <style> |
michael@0 | 11 | body > div { |
michael@0 | 12 | width: 200px; |
michael@0 | 13 | height: 200px; |
michael@0 | 14 | float: left; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | body > div > div { |
michael@0 | 18 | width: 100px; |
michael@0 | 19 | height: 100px; |
michael@0 | 20 | background: lime; |
michael@0 | 21 | } |
michael@0 | 22 | </style> |
michael@0 | 23 | </head> |
michael@0 | 24 | <body style="margin:0"> |
michael@0 | 25 | <div><div></div></div> |
michael@0 | 26 | <div><div></div></div> |
michael@0 | 27 | <div><div></div></div> |
michael@0 | 28 | <div><div></div></div> |
michael@0 | 29 | <div><div></div></div> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |