1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<!DOCTYPE html> <html id="parent"> <head> <link rel="stylesheet" type="text/css" href="style.css"> <script src="../handleprop.js" type="text/javascript"></script> <style> #child { left: 300px; top: 200px; right: 20px; bottom: 20px; } </style> </head> <body> <div id="child"> <div class="floatLeft"></div> <div class="floatLeft"></div> </div> </body> </html>