View Full Version : Newbier HTML question


Neomega
Jun 02, 2003, 02:37 AM
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?

KaeptnOvi
Jun 02, 2003, 03:42 AM
did you put the text in quotation marks?

like this: <img src="bla.jpg" width="32" height="32" alt="your alternative text" />

Neomega
Jun 02, 2003, 04:22 AM
yes... allthough I did not finish with a forward slash... and that seemed to work great..... thanks :)