coykiesaol
07 Mar 2011, 09:07 PM
How can I make a rollover image that doesn't have the same size? I mean for example, the primary pic is 200 x 50... how do I make the rollover image a 300 x 70?.. is it possible?
Iced Earth
08 Mar 2011, 12:14 AM
Hmm, I've never done it, but maybe you could do it with a CSS sprite. Google that so you can get an idea of how it works.
From there: I would stack the two images, the smaller above the big one...set that to the anchor tag, give it a width and height, and then apply the same image to the a:hover, with background position set along with width/height?
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.