HTML & CSS
I have an image slide gallery (jquery cycle) with alt tags, covered with 2 divs for moving forward and back. It appears that since the div covers image, the image alt tag won't be displayed when I hold the cursor over the image.
How could I solve this issue so that alt tag would show up normally like without divs?
Thanks for help
He's probably working with Internet Explorer. IE6 and 7 display alt as a tooltip. Suffice it to say that using the alt attribute this way is wrong.
Same goes for the title attribute. It's also wrong to assume that the title attribute is a mechanism for generating a tooltip. It's simply more common in the case of title than it is for alt.
To fix the IE bug you simply need to include title="" in your images as well as the mandatory alt attribute. Then IE will behave the same as other browsers.
This topic is now closed. New replies are no longer allowed.