carinemaz Posted March 22, 2006 Share Posted March 22, 2006 Hi all,I can't seem to get the alt attribute to work in Firefox...My text does not appear when you go over an image with the mouse. <a href="images/rocheuse/index.html" target="_blank"><img src="images/thumb_nails/dam-gil.jpg" alt="Journée dans les Rocheuses avec Damien et Gillian" /></a> What is wrong in this code?!Works fine in IE6Thanks in advance for your suggestions Link to comment Share on other sites More sharing options...
pulpfiction Posted March 22, 2006 Share Posted March 22, 2006 this is what w3schools site says,Mozilla Firefox and the alt AttributeIf you use the alt attribute in Firefox on images and image maps the text will not show on mouse-over as in other browsers.Firefox uses the alt attribute the way it's meant to be used, like an alternative text if the image won't load, not as a mouse-over text.Firefox does support mouse-over comments on images or image maps if you use a title attribute in the <img> tag.E.g. <img src="image.gif" alt="bla" title="bla bla blahttp://www.w3schools.com/tags/tag_img.asp Link to comment Share on other sites More sharing options...
playmenow Posted March 22, 2006 Share Posted March 22, 2006 This won't happen in FF. Use the title attributte on the "a" tag. Link to comment Share on other sites More sharing options...
carinemaz Posted March 22, 2006 Author Share Posted March 22, 2006 Thanks for the info!Should have known to look in the W3 tutorials! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now