Advertisement
pcwizz

pcwizz.net common.css

Jan 2nd, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.25 KB | None | 0 0
  1. .header {
  2.     position: relative;
  3.     top: 0px;
  4.     width: 1000;
  5.     height: 2000px;
  6.    border: 3px blue:
  7. }
  8. #logo {
  9. position: absolute;
  10. top: 50px;
  11. right: 1000px; 
  12. border 3px black;
  13.     }
  14. .search {
  15.     position: absolute;
  16. left: 600px;
  17. top: 150px;
  18. border 3px green;
  19.     }
  20. .asside {
  21.     float: right;
  22. position: absolute;
  23. left: 700px;
  24. top: 10px;
  25. margin-bottom: 20px;
  26. border: 3px yellow;
  27.  
  28. }
  29. .style {
  30.     float: right;
  31. position: absolute;
  32. left: 0%;
  33. top: 10px;
  34. }
  35. artical {
  36.     float: left;
  37.         margin: 50 20 75;
  38.     width: 900px;
  39.    
  40. }
  41. body {
  42.    
  43.     position: relative;
  44.     left: 20%;
  45.     width: 1000px;
  46.     display: inline-block;
  47.     border: 3px red;
  48.  
  49. }
  50.  
  51. .adds {
  52. position: absolute;
  53. left: 1000px;
  54. top: 300px;
  55.    
  56.     border: 3px blue:
  57.     }
  58.     .adds2 {
  59. position: absolute;
  60. right: 1000px;
  61. top: 300px;
  62.    
  63.    
  64.     }
  65.  
  66.  
  67. #main_nav,
  68. #main_nav ul {
  69.     list-style: none;
  70. }
  71. #main_nav {
  72.     float: left;
  73.     position: relative;
  74. margin-top: 20px;
  75. }
  76. #main_nav > li {
  77.     float: left;
  78. }
  79. #main_nav li a {
  80. display: block;
  81.     height: 2em;
  82.     line-height: 2em;
  83.     padding: 0 1.5em;
  84.     text-decoration: none;
  85. }
  86. #main_nav ul {
  87.     position: absolute;
  88.     display: none;
  89. z-index: 999;
  90. }
  91. #main_nav ul li a {
  92.     width: 150px;
  93. }
  94. #main_nav li:hover ul {
  95.     display: block;
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement