aviatorisu Posted May 28, 2006 Share Posted May 28, 2006 Not so much PHP as HTML, but I have a question. I'm noticing that as I write the script for my webpage that my IMG ALT do not work the same in Netscape and Firefox as they do in IE. In IE, they "pop up" on mouse rollover. This does not occur with the other two. Is there some trick to this, or is it just disabled in Netscape and Firefox?~Z~ Quote Link to comment https://forums.phpfreaks.com/topic/10613-img-alt-tags/ Share on other sites More sharing options...
AndyB Posted May 28, 2006 Share Posted May 28, 2006 Actually that's a 'flaw' in IE (a non-compliance with the HTML specifications) and it shouldn't be there. ALT is correctly used as 'text replacement' for non-visual browsers. If you want a 'tooltip' cross-browser, then use the TITLE attribute. Quote Link to comment https://forums.phpfreaks.com/topic/10613-img-alt-tags/#findComment-39575 Share on other sites More sharing options...
aviatorisu Posted May 28, 2006 Author Share Posted May 28, 2006 Sweet, thanks. That's working fine now.~Z~ Quote Link to comment https://forums.phpfreaks.com/topic/10613-img-alt-tags/#findComment-39625 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.