View Full Version : <IMG... alt="*****".....>
Wobbler
11-26-2002, 07:18 PM
How du I make [Enters] in my "alt" discrption for images???
x_goose_x
11-26-2002, 07:38 PM
A ghetto way, but this seems to work.
<IMG src="mypic.jpg" alt="first line
secondline">
chrismiceli
11-26-2002, 08:19 PM
never tried but mabey more correct, may not work at all
<img... atl="hi \n hi">
try it.
cg9com
11-26-2002, 08:27 PM
\n wont work...
Try \r or \r\n or even &#10;
In a page encoded in Unicode:
&#x2028;
Would be the correct way to reference a line-break...
In simple ASCII, I believe this should work:
&#x0D;&#x0A;
Also, keep in mind that it is incorrect behavior for a browser to use alt text as a tooltip. This ruins web accessibility.
Instead, use the title attribute, which can be applied to virtually any element. :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.