table-print-1-ref.html (596B)
1 <!DOCTYPE html> 2 <html class="reftest-paged"> 3 <head> 4 <style> 5 #rel { 6 position: relative; 7 margin: 2px; 8 padding: 0; 9 } 10 .abs { 11 position: absolute; 12 margin: 0; 13 padding: 0; 14 top: 25px; 15 left: 25px; 16 width: 50px; 17 height: 50px; 18 background-color: green; 19 } 20 #bad { 21 background-color: blue; 22 } 23 .m { height:1.4in; } 24 .b { border:1px solid; } 25 </style> 26 </head> 27 <body> 28 <div class="m"></div> 29 <div id="rel"><div class="abs b"></div></div> 30 </body> 31 </html>