tarun Posted May 7, 2007 Share Posted May 7, 2007 .button { background-image: url('images/normal.gif'); background-repeat: no-repeat; height: 15px; width: 15px; } td.button:hover { background-image: url('images/over.gif'); background-repeat: no-repeat; height: 15px; width: 15px; } td.button:active { background-image: url('images/down.gif'); background-repeat: no-repeat; height: 15px; width: 15px; } Okay Ive Got This ^--^--^ And The Over Works Like OnMouseOver (hover) But The Down Does Nothing - It Should Act Like OnClick (active) But I Doesn't Any Help...? Thnx, Tarun Link to comment https://forums.phpfreaks.com/topic/50355-td-hover-and-active/ Share on other sites More sharing options...
ToonMariner Posted May 7, 2007 Share Posted May 7, 2007 what browsers ahev you tried it in? can you post a link to a live page? Link to comment https://forums.phpfreaks.com/topic/50355-td-hover-and-active/#findComment-247577 Share on other sites More sharing options...
tarun Posted May 8, 2007 Author Share Posted May 8, 2007 The WebPage Is Off Line And Ive Tried It In IE 7 And AOL 9.0 Link to comment https://forums.phpfreaks.com/topic/50355-td-hover-and-active/#findComment-248301 Share on other sites More sharing options...
Karl33to Posted May 9, 2007 Share Posted May 9, 2007 support for the :active pseudo-class is 'buggy' in ie7 apparently http://dev.l-c-n.com/CSS3-selectors/browser-support.php Link to comment https://forums.phpfreaks.com/topic/50355-td-hover-and-active/#findComment-249208 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.