Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 24th, 2012  |  syntax: None  |  size: 0.54 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to change the default rectangular view for a:hover background image?
  2. a:hover {
  3.     color: black;
  4.     background:url("images/nav-hm.png");
  5. }
  6.        
  7. a:hover {
  8.   color: black;
  9.   background:url("images/Untitled-2-2.png");
  10.   width:337px;
  11.   height:292px;
  12.   }
  13.        
  14. a{
  15.   padding-left:5px;
  16.   padding-right:5px;
  17.   width:337px;
  18.   height:292px;
  19. }
  20.  
  21.  
  22. a:hover {
  23.   color: black;
  24.   background:url("images/Untitled-2-2.png");
  25.  /* Add border radius */    
  26.   -moz-border-radius: 4px;
  27.   -webkit-border-radius: 4px;
  28.   -khtml-border-radius: 4px;
  29.   border-radius: 4px;
  30. }