Posted By

summer_rain on 04/24/11


Tagged


Versions (?)

ccs-part of my answer on exercise"http://htmlbook.ru/practical/granitsa-vokrug-formy"


 / Published in: CSS
 

http://htmlbook.ru/practical/granitsa-vokrug-formy"

  1. body{
  2. background-color: white;
  3. margin: 0px;
  4. padding: 0px;
  5. }
  6.  
  7. form{
  8. position: float;
  9. height: 300px;
  10. width: 100%;
  11. padding: 0 0 0 0;
  12. margin: 0;
  13. line-height: 2;
  14. left: 100px;
  15. top:50px;
  16. }
  17.  
  18. header h1, p{
  19. left: 30px;
  20. }
  21.  
  22. header h1{
  23. top: -10px;
  24. display: inline;
  25. margin: 0;
  26. border-bottom: none;
  27. color: #B98F5C;
  28. }
  29.  
  30. p{
  31. position: absolute;
  32. font-weight: bold;
  33. }
  34.  
  35. input[type="button"]{
  36. height : 30px;
  37. width: 100px;
  38. margin-top: 15px;
  39.  
  40. border : 2px solid white;
  41. text-align: center;
  42. background-color: #B98F5C;
  43.  
  44. -moz-border-radius: 2px;
  45. border-radius: 2px;
  46. }
  47.  
  48. input[type="button"]:hover{
  49. }
  50.  
  51.  
  52. #container{
  53. width: 950px;
  54. margin: 0 auto;
  55. margin-top: 25px;
  56.  
  57. background-color: #E1E3B8;
  58. border: black 2px solid;
  59. height: 555px;
  60. }
  61.  
  62. #img{
  63. background: url(http://htmlbook.ru/sites/default/files/check-bg.png) no-repeat;
  64. background-position: 2% 5%;
  65. }

Report this snippet  

You need to login to post a comment.