alt="text over" in firefox

User 7816 Photo


Registered User
8 posts

ok, here's my question. i put the alt tag with my image and in coffeecup preview, the alt text shows up when mousing over, but its not doing it in firefox. anyone know why? its just a little thing that drive me nuts. and i can't seem to find some html code to do a mouseover just to show the text over my pix. any ideas?

thanx
Jo Ann Anthony, retiree wannabe who finally got her wish
User 629005 Photo


Ambassador
2,174 posts

Because IE doesn't play by the rules and FF does (or at least moreso than IE)...

The ALT tag was not intended to be a "mouseover" effect. It is there to allow access to persons with disabilities, or those with "text browsers", to know what is supposed to be showing in that box.
Living the dream, stocking the cream :D
User 7816 Photo


Registered User
8 posts

thanx Phil. i just can't seem to find an html code that will show a text on an image on mouseover. i guess i will just make a second img with the text on that.

thanx again
Jo Ann Anthony, retiree wannabe who finally got her wish
User 282670 Photo


Registered User
3,940 posts

I just gave it a shot in both browsers ( IE7 & FF) and it worked fine. are your browsers up to date FF 3.52 I believe.
are you doing a mouseover and alt text or just 1 image and alt text?
could try adding title="text" behind the alt tag see if that works.
I am just curious :)
Jo here's what that code looked like
<img src="2xnet.jpg" width="201" height="75" alt="flash2x banner" title="flash2x banner" border="0" align="" />




User 7816 Photo


Registered User
8 posts

thanx bruzer, gonna give it a try!
Jo Ann Anthony, retiree wannabe who finally got her wish
User 7816 Photo


Registered User
8 posts

Bruzer, that worked for me so thanx alot...really appreciate your help
Jo Ann Anthony, retiree wannabe who finally got her wish
User 282670 Photo


Registered User
3,940 posts

hey it was a guess, the tip was from the search by tom, so I figured alt for IE and title for FF, either way glad it worked. :)




User 7816 Photo


Registered User
8 posts

Well I definitely appreciate yinz guys!!!

now i can go to bed cuz its not buggin me any more...LOL
Jo Ann Anthony, retiree wannabe who finally got her wish
User 146729 Photo


Ambassador
29 posts

Also keep the alt tag there because it helps some with SEO. It helps the spiders when they crawl your site. Identify images.
User 282670 Photo


Registered User
3,940 posts

night http://emoticons4u.com/sleep/1.gif
thanks Chris for the advise...I might have mentioned removing it my bad





Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.