The <img> alt Attribute not displaying.
3 posters
Page 1 of 1
The <img> alt Attribute not displaying.
Is the alt="Thanks!" placement wrong?
viewtopic_body
Phbb2
viewtopic_body
Phbb2
- Code:
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i47.servimg.com/u/f47/11/77/85/44/thanks10.gif"
style="filter:alpha(opacity=100); opacity: 0.5;"
onmouseover="this.style.opacity='1';
this.filters.alpha.opacity='100';"
onmouseout="this.style.opacity='0.5';
this.filters.alpha.opacity='100'" alt="Thanks!"/></a></div>
Last edited by roCrox on March 26th 2015, 6:44 pm; edited 1 time in total
roCrox- Forumember
- Posts : 83
Reputation : 20
Language : English
Re: The <img> alt Attribute not displaying.
The ALT attribute contents will only display if the image is unable to load, broken, or there's not a SRC attribute. Are you trying to display a tooltip ? If so, add title="Thanks!" instead
Re: The <img> alt Attribute not displaying.
Ange Tuteur wrote:The ALT attribute contents will only display if the image is unable to load, broken, or there's not a SRC attribute. Are you trying to display a tooltip ? If so, add title="Thanks!" instead
Aaah, thanks for explanation I didn't realize the proper usage before and was not aware of title attribute.
Well this is solved - it works.
Thanks again Ange Tuteur.
roCrox- Forumember
- Posts : 83
Reputation : 20
Language : English
Re: The <img> alt Attribute not displaying.
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» html attribute name replaced by character entities
» Help with Txt displaying
» signatures not displaying
» Photo's not displaying
» Adsense not displaying
» Help with Txt displaying
» signatures not displaying
» Photo's not displaying
» Adsense not displaying
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum