1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
6 .container { color: red; width:
100px; height:
150px; position: relative;}
7 .container:first-line { font-size:
30px;}
8 div { background: white; }
9 .reference { position: absolute; width:
20px; height:
20px; background: black; }
10 .first { left:
40px; top:
4px;}
11 .second { top:
30px; }
15 <!-- In strict mode, inline blocks do not have their descent removed across line breaks.
16 Ensure they find the correct offset for their line when avoiding floats. -->
17 There should be no red visible below.
18 <div class=
"container">
19 <div class=
"reference first"></div>
20 <div class=
"reference second"></div>