table-internal-8-ref.html (448B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <style> 5 #good { 6 background-color: green; 7 } 8 .abs { 9 position: fixed; 10 margin: 0; 11 padding: 0; 12 top: 25px; 13 left: 25px; 14 width: 50px; 15 height: 50px; 16 background-color: green; 17 } 18 </style> 19 </head> 20 <body> 21 The green square should completely cover the red square. 22 <div class="abs" id="good"></div> 23 </body> 24 </html>