eexpress's blog


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* 白底黑字的code */
  2.  
  3. code {
  4. background:#000000 none repeat scroll 0%;
  5. color:#FFFFFF;
  6. display:block;
  7. font-family:"Lucida Console","Courier New",Courier,monospace;
  8. font-size:1em;
  9. font-size-adjust:none;
  10. font-style:normal;
  11. font-variant:normal;
  12. font-weight:normal;
  13. line-height:1.5em;
  14. padding:0.5em;
  15. }
  16.  
  17. /* 标题变色 */
  18. #header a:hover {color: darkred;}
  19.  
  20. /* 加宽 */
  21.  
  22. #header {width:1100px;}
  23.  
  24. #menu {width:1100px;}
  25.  
  26. #main {width:1100px;}
  27.  
  28. #content {width:840px;}
  29.  
  30. #footer {width:1100px;}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.