Alt/title attribute bug in IE6-8?

  • RockmanTV
  • Proficient
  • Proficient
  • RockmanTV
  • Posts: 348

Post 3+ Months Ago

It seems to affect all versions 6-8 from what I've been testing.

If you have an image set as a png in IE (mine are transparent, not sure if this makes a difference), IE is unable to understand the single quote( ' ) in the images title or alt attributes and will trim off the rest of the alt or title text.

For example if you were to set "Hello, I'm currently unavailable" as the title text for a png in IE when a user scrolls over the image all they'll see is "Hello, I".

I tried setting the single quotes as ' but IE of course can't handle entities in their title/alt tags either. Anyone run into this before?

EDIT: NM, the reason this occurs is because of the code that enables full transparent PNG support in these browsers.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ArtphotoasiA
  • Graduate
  • Graduate
  • User avatar
  • Posts: 204
  • Loc: Italy

Post 3+ Months Ago

I got this triming trouble before using jpg .... so is not related to .png

Now I use alt and title and i do not use ' inside the tags... probably IE8 solved the problem... no idea.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Quote:
EDIT: NM, the reason this occurs is because of the code that enables full transparent PNG support in these browsers.


Out of curiosity, which script are you using for that ?
  • ArtphotoasiA
  • Graduate
  • Graduate
  • User avatar
  • Posts: 204
  • Loc: Italy

Post 3+ Months Ago

joebert wrote:


Out of curiosity, which script are you using for that ?



I use shadowbox... if you mean the script that manage my photo gallery....

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 82 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.