style2.css 617 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. div {
  2. padding: 2px;
  3. border: 2px;
  4. margin: 6px;
  5. }
  6. #Body1 {
  7. border: 12px;
  8. border-color: red;
  9. }
  10. #Div1 {
  11. background-color: yellow;
  12. border-color: black;
  13. height:60px;
  14. }
  15. #Div2 {
  16. border-color: black;
  17. height:40px;
  18. position: absolute;
  19. left: 40px;
  20. top: 120px;
  21. width: 600px;
  22. height: 65px;
  23. }
  24. #Span1 {
  25. width: 50px;
  26. height:70px;
  27. background-color: red;
  28. border: 3px;
  29. border-color: black;
  30. margin: 3px;
  31. }
  32. #Label1 {
  33. background-color: orange;
  34. }
  35. #Img1 {
  36. border-color: blue;
  37. border: 2px;
  38. position: absolute;
  39. left: 250px;
  40. top: 50px;
  41. width: 48px;
  42. height: 48px;
  43. }