collapsing-border-model-003-ref.html (430B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Reference</title> 4 <style> 5 div { 6 height: 1.5in; 7 width: 100px; 8 } 9 .orange { 10 background: orange; 11 } 12 .blue { 13 background: blue; 14 width: 50px; 15 float: right; 16 } 17 </style> 18 <body> 19 <p>Test passes if the orange and blue boxes below are the same height.</p> 20 <div class="orange"><div class="blue"></div></div> 21 </body>