Welcome to WebmasterWorld Guest from

Forum Moderators: open

Swapping Different-Sized Images in Dreamweaver MX

4:05 pm on May 3, 2006 (gmt 0)

10+ Year Member

How can I swap a 75px by 75px image with a 125px by 125px image upon mouseover? Dreamweaver automatically resizes the larger one to the dimensions of the smaller one. Can this be prevented?


4:11 pm on May 3, 2006 (gmt 0)

5+ Year Member

I would suggest you just give a background to the 75x75 making it 125x125 but APPEARING to be 75x75, this will also keep the other page elements stable on mouseover.
4:58 pm on May 3, 2006 (gmt 0)

10+ Year Member

Thanks for the reply TypicalSurfer, but I thought of that already. This solution won't work in this particular situation.
8:41 pm on May 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

If that doesn't suit you, then I take it you *want* the browser to re-layout all the page elements to suit the new image size (ie you want the screen picture to change)?



Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month