TestFlow_AbsDivStaticPos.html 542 B

12345678910111213141516171819202122
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5. <title>Project1</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <style>
  8. body {
  9. margin: 0px;
  10. font-size: 20px;
  11. }
  12. </style
  13. </head>
  14. <body>
  15. Label1
  16. <div id="Div1" style="position: absolute; width: 30px; height: 4px; border: 2px solid red;">
  17. </div>
  18. <div id="Div2" style="position: absolute; width: 30px; height: 4px; border: 2px solid blue;">
  19. </div>
  20. Label2
  21. </div></body>
  22. </html>