Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 <html>
2 <head>
3 <title>Test mpadded height depth</title>
4 <style type="text/css">
5 div#bigsquare1 {
6 position: absolute;
7 width: 100px;
8 height: 50px;
9 background: blue;
10 }
12 div#smallsquare1 {
13 position:absolute;
14 width: 20px;
15 height: 20px;
16 left: 0px;
17 top: 30px;
18 background: red;
19 }
20 /* left = lspace = 0;
21 top = heightBig - heightSmall - voffset;
22 = 50 - 10 - 10*/
23 </style>
24 </head>
25 <body>
26 <div id="bigsquare1">
27 <div id="smallsquare1">
28 </div>
29 </div>
31 <div id="bigsquare2">
32 <div id="smallsquare2">
33 </div>
34 </div>
35 </body>
36 <html>