Perry Mason Posted March 4, 2010 Share Posted March 4, 2010 I rewrote the script for my site using CSS only for formatting (got rid of all the tables), and it looks good. The only problem - the alt attribute for images and navigation links is not working. Is this some innate problem and how do I get it to work again? Here's the old version: http://medeponyms.com/index.php Here's the new one: http://medeponyms.com/index1.php (Ignore the background colors, that was for the ease of positioning) Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/194085-alt-attribute-not-working/ Share on other sites More sharing options...
isedeasy Posted March 4, 2010 Share Posted March 4, 2010 the alt attribute will only be visible if the image fails to load. You should only use alt with an <img> tag. If you are after tooltip text on hover then you need to use "title" rather than alt. Quote Link to comment https://forums.phpfreaks.com/topic/194085-alt-attribute-not-working/#findComment-1021340 Share on other sites More sharing options...
Perry Mason Posted March 4, 2010 Author Share Posted March 4, 2010 Thanks Quote Link to comment https://forums.phpfreaks.com/topic/194085-alt-attribute-not-working/#findComment-1021355 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.