Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
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: 20px; |
michael@0 | 8 | height: 20px; |
michael@0 | 9 | left: -25px; |
michael@0 | 10 | top: 25px; |
michael@0 | 11 | background: red; |
michael@0 | 12 | } |
michael@0 | 13 | div#square2 { |
michael@0 | 14 | position: absolute; |
michael@0 | 15 | width: 100px; |
michael@0 | 16 | height: 100px; |
michael@0 | 17 | left: 40px; |
michael@0 | 18 | top:30px; |
michael@0 | 19 | background: blue; |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | div#square3 { |
michael@0 | 23 | position:absolute; |
michael@0 | 24 | width: 200px; |
michael@0 | 25 | height: 200px; |
michael@0 | 26 | background: green; |
michael@0 | 27 | } |
michael@0 | 28 | /* left = lspace = -25; |
michael@0 | 29 | top = HeightBig - HeightSmall - voffsetSmall |
michael@0 | 30 | = 50 - 10 - 15 = 25px */ |
michael@0 | 31 | /* left = lsapce = 40px; |
michael@0 | 32 | top = HeightVeryBig - HeightBig - voffsetBig |
michael@0 | 33 | = 100 - 50 - 20 = 30px */ |
michael@0 | 34 | </style> |
michael@0 | 35 | </head> |
michael@0 | 36 | <body> |
michael@0 | 37 | <div id="square3"> |
michael@0 | 38 | <div id="square2"> |
michael@0 | 39 | <div id="square1"> |
michael@0 | 40 | </div> |
michael@0 | 41 | </div> |
michael@0 | 42 | </div> |
michael@0 | 43 | </body> |
michael@0 | 44 | <html> |