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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALT tag question 1

Status
Not open for further replies.

MavrickStl

Programmer
Feb 20, 2001
71
US
Guys,

I am using ALT tag as follows:

<IMG SRC=&quot;/Tami/Webtools/Question.gif&quot; WIDTH=&quot;23&quot; HEIGHT=&quot;24&quot; HSPACE=&quot;0&quot; VSPACE=&quot;-2&quot; BORDER=&quot;0&quot; ALT= &quot;Martin Smith - MJ 0256 Nina Watson - NW2222 Ron Wise - RW5555&quot;>

Here are the desired results after mouse pointer touches the image:

Martin Smith - MJ0256
Nina Watson - NW2222
Ron Wise - RW55555

But with the above code I am getting this:

Martin Smith - MJ 0256 Nina Watson - NW2222 Ron Wise - RW5555

I tried to use <BR> it does not work. Please help...

Thanks,

Mav
 
You could try putting a \n where you wanted the line to break, but I'm not sure that will work either. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Hi Mav,
I think I can help with this one.
Try using a &quot;Control-Enter&quot; (just hold CONTROL key and tap the ENTER key) between each line you wish to be split in the alt tag.
Therefore, take your code and make it as follows:
<IMG SRC=&quot;/Tami/Webtools/Question.gif&quot; WIDTH=&quot;23&quot; HEIGHT=&quot;24&quot; HSPACE=&quot;0&quot; VSPACE=&quot;-2&quot; BORDER=&quot;0&quot; ALT= &quot;Martin Smith - MJ 0256 (place control-enter here) Nina Watson - NW2222 (place control enter here) Ron Wise - RW5555&quot;>

Thank should do it for you.
- Omicron -
 
Omicron,

Thanks a lot. It works....I really appreciate your help.

Mav
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top