Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with buttons

Status
Not open for further replies.

DeepBlerg

Technical User
Jan 13, 2001
224
AU
I have a rollover effect with some buttons. But when I save the document and test it, the 2nd version of the button appears a few pixels lower than the original and it looks really dodgy.

Is there a way around this?

Thanks.
 
Your images should be the same size (height and width) and one will replace the other. If you're using a standard rollover script (might want to post that if you're still having problems) then my best guess is that the images don't line up.

Open both in some image software and make sure that the image pieces line up like you intended.

You could probably use some more javascript to make the rollover appear in a different place but it would be much easier to make the images match.
 
glowball is right-
the thing I have the hardest time with in making rollovers is making the images line up. Robert Carpenter
questions? comments? thanks? email me!
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
I highly recommend Macromedia's Fireworks for making flawless rollover images. It has layers like PhotoShop does, but it extends this idea to include frames, which are like another group of layers. Cutting out images for HTML is a breeze and you can guarantee that your images will line up.

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top