View Full Version : CSS : - Rollover without link ??
sushilkulthe
November 7th, 2006, 01:38 AM
i want rollover effect but without link (<a></a>) this is possible??
Plz help me .
Sushil
Jeff Wheeler
November 7th, 2006, 01:39 AM
Not in IE. You'll have to use JS.
To support it in decent browsers, do the same thing you would for a link:
element:hover {
background: url(image.png);
}
gonzolo
November 7th, 2006, 11:57 PM
can't you just link to # ?
sushilkulthe
November 8th, 2006, 01:23 AM
tx for reply
i dont want any link tag or any img
this is possible in css
sushil
Jeff Wheeler
November 8th, 2006, 02:53 PM
I said how to do it, but I'm telling you there's a bug in IE that causes it to not work in that browser. It works in others, however, on any element.
Templarian
November 8th, 2006, 04:08 PM
also change the cursor if you just want a rollover.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.