View Full Version : Image rollover but no JS??

10-20-2004, 11:38 PM
I want to have a 'image rollover' affect using CSS. I know that you can use the tags a:link, a:hover, etc etc. but can you just use the same principal and apply to custom tags i.e. blah:hover ??

If not how would I do it using CSS? If in fact it's possible in CSS!

Many thanks in advance,

10-20-2004, 11:50 PM
CSS can't control the source of an <img> tag...

But it can control background images. Check this out:


10-21-2004, 12:14 AM
Check out Pixy's CSS-only, no-preloading image rollovers.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum