Guest User

Untitled

a guest
Jan 22nd, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. <html>
  2. <head>
  3. <link rel="stylesheet" href="styletest.css" />
  4. </head>
  5. <body>
  6. <div style="width:700px;overflow:auto">
  7. <div class="anio">
  8. <div class = "semestre">
  9. <div class="floater"></div>
  10. <div class="floater"></div>
  11. <div class="floater"></div>
  12. <div class="floater"></div>
  13. <div class="floater"></div>
  14. <div class="floater"></div>
  15. <div class="floater"></div>
  16. </div>
  17. </div>
  18. </div>
  19. </body>
  20. </html>
  21.  
  22. div.floater {
  23. margin: 4px;
  24. width: 110px;
  25. height: 82px;
  26. border: 1px solid #ccc;
  27. display: inline-block; /*this to make the floaters go horizontal*/
  28. }
  29. div.semestre{
  30. white-space: nowrap; /* this avoid the floater overflowing under the parent div*/
  31. margin-top: 5px;
  32. margin: 2px;
  33. height: 90px;
  34. border: 1px solid #ccc;
  35. min-width:98%;
  36.  
  37. }
  38. div.anio{
  39. margin : 2px;
  40. border: 1px solid #ccc;
  41. min-width:98%;
  42.  
  43. }
  44.  
  45. div.floater {
  46. vertical-align:top;
  47. margin: 4px;
  48. min-width:110px;
  49. width: auto;
  50. height: 82px;
  51. border: 1px solid #ccc;
  52. display: inline-block; /*this to make the floaters go horizontal*/
  53. }
Add Comment
Please, Sign In to add comment