margin-collapse-min-height-001-ref.xht (536B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Bert Bos" href="mailto:bert@w3.org" /> 6 <style type="text/css"> 7 body {min-width: 17em} 8 div.parent {height: 2em; margin: 5em 0 1em 0} 9 </style> 10 </head> 11 <body> 12 <div class="parent"> 13 There's more space above this line than between this line and the horizontal rule 14 </div> 15 <hr /> 16 </body> 17 </html>