0 Replies - 1082 Views - Last Post: 28 January 2006 - 04:13 AM

#1 dec1pher  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 116
  • Joined: 27-January 06

CSS' hover psuedo class

Posted 28 January 2006 - 04:13 AM

Description: A simple background swapping code for divs without using of javascript
#IDofDiv {
     /*... other properties*/
     background: url(normalpic.jpg);
}
#IDofDiv:hover {
     background: url(hoverpic.jpg);
}

Is This A Good Question/Topic? 0
  • +

Page 1 of 1