Results 1 to 2 of 2

Thread: Dreamweaver rollover image help!?

  1. #1

    Dreamweaver rollover image help!?

    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?

  2. #2
    Join Date
    Apr 2010
    Location
    Chicago
    Posts
    302
    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?

Similar Threads

  1. Rollover image with links on new image
    By stoob in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 30 Jan 2007, 02:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •