fieldset-sibling-2a.html 363 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style type="text/css">
  5. fieldset {
  6. height: 20px;
  7. padding: 0;
  8. border: none;
  9. background-color: green;
  10. }
  11. #top {
  12. margin: 0 0 10px;
  13. }
  14. #middle {
  15. margin: 20px 0;
  16. }
  17. #bottom {
  18. margin: 10px 0 0;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <fieldset id="top"></fieldset>
  24. <fieldset id="middle"></fieldset>
  25. <fieldset id="bottom"></fieldset>
  26. </body>
  27. </html>