Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <title>Test mpadded</title> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | div#square1 { |
michael@0 | 6 | position: absolute; |
michael@0 | 7 | width: 100px; |
michael@0 | 8 | height: 100px; |
michael@0 | 9 | background: blue; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | div#square2 { |
michael@0 | 13 | position:absolute; |
michael@0 | 14 | width: 20px; |
michael@0 | 15 | height: 20px; |
michael@0 | 16 | left: 10px; |
michael@0 | 17 | top: 55px; |
michael@0 | 18 | background: red; |
michael@0 | 19 | } |
michael@0 | 20 | /* left = lspace = 10; |
michael@0 | 21 | top = heightBig - heightSmall - voffset; |
michael@0 | 22 | top = 50 - 10 + 15 = 55px */ |
michael@0 | 23 | </style> |
michael@0 | 24 | </head> |
michael@0 | 25 | <body> |
michael@0 | 26 | <div id="square1"> |
michael@0 | 27 | <div id="square2"> |
michael@0 | 28 | </div> |
michael@0 | 29 | </div> |
michael@0 | 30 | </body> |
michael@0 | 31 | <html> |