CSS vertical nav


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



Copy this code and paste it in your HTML
  1. #list_nav li {
  2. display:block;
  3. border-bottom:1px solid #DEDEDE;
  4. width:237px;
  5. padding:0;
  6. }
  7.  
  8. #list_nav li a {
  9. display:block;
  10. padding:5px 5px 5px 10px;
  11. font-size:11px;
  12. color:#39F;
  13. text-decoration:none;
  14. line-height:15px;
  15. }
  16.  
  17. #list_nav li a:hover {
  18. color:#333;
  19. background:#F0F0F0;
  20. }
  21.  
  22. #list_nav li a.active {
  23. color:#333;
  24. background:#F0F0F0;
  25. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.