Results 1 to 4 of 4

Thread: Pop up image with transparent background

  1. #1
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pop up image with transparent background

    I've been using the css for pop up images (on mouseover text), but can't get it to work when the image has a transparent background. I'd like, e.g. to get a tarantula--in sillouette only--to appear on the page when mouseover text. Can anyone help?
    Thanks

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Just show up in one spot and not move, when the mouse is on a specific text selection?
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Correct. I tried setting the background-color to transparent on the header html (everywhere I could), but I still get a big white box behind my supposedly transparent background gif.
    Thanks

  4. #4
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Resolved

    Never mind. I figured it out. It only works if I load the image onto a separate host and link to it, then set the "span style" to "background-color:transparent" (which I can specify for each image individually). yay
    Now I'll try an animated gif...

Bookmarks

Posting Permissions

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