Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALT="" problem in IE

Status
Not open for further replies.

jebo100

Technical User
May 11, 2007
52
0
0
PH
hi all,

new to html.
i have an image tag :
<img src="images/picture.jpg" alt="myimage"/ >
this go well in firefox.
in explorer, the alt value pops up whenever i point the mouse on the image.

is there a work around to get rid of the pop up in IE?

thanks!

JEBO
4saledavao
 
Yes. IE decides that alt (used primarily for alternative content when image is not available) can be used as a tooltip as well. However, there is a tooltip attribute in HTML -- it is called title. Title will act as a tooltip in all browsers.

In IE, if you include both alt and title, title will act as a tooltip, overriding the alt value. So:
Code:
<img src="images/picture.jpg" alt="myimage" title="" />

___________________________________________________________
[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
thanks a lot Vragabond!!! huh that was easy.!


thanks again!!


JEBO
4saledavao
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top