table-sibling-3-noref.html 355 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style type="text/css">
  5. #table1 {
  6. display: table;
  7. height: 20px; width: 100px;
  8. background-color: green;
  9. margin-bottom: 30px;
  10. }
  11. #table3 {
  12. display: table;
  13. height: 20px; width: 100px;
  14. background-color: blue;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <div id="table1"></div>
  20. <div id="table2"></div>
  21. <div id="table3"></div>
  22. </body>
  23. </html>