Newbier HTML question

Neomega

Deity
Joined
Feb 9, 2002
Messages
11,261
I am trying to use the alt= attribute.

I have 32x32 icons, and have even tried setting the width and height to 32x32. Mostly what I am going for is when the user hovers the mouse over the icon, he/she get a little description. (I am making a table for my units, and using 32x32 icons for the special abilities, like draft, or no support)

MY PROBLEM:

When I assign the alt attribute, the icons disappear, and instead there are just red-X boxes. Is it because my icons are too small?
 
did you put the text in quotation marks?

like this: <img src="bla.jpg" width="32" height="32" alt="your alternative text" />
 
yes... allthough I did not finish with a forward slash... and that seemed to work great..... thanks :)
 
Back
Top Bottom