Preserved Topic: ALT tags - can they be controlled? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Northwestern Lower Michigan, USA |
posted 03-23-2002 22:47
When using the <IMG ALT=" ">, is it possible to control how the text of the alt displays? |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-24-2002 00:31 |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-24-2002 00:39
Yah, you can't use the /r or /n, but you *can* use &#13; instead, which will force a carriage return in MSIE6 at least, I haven't tested it in any other browsers yet. (Test page for this is at http://fragilespace.com/ - alt text for the center image.) (edit) actually, I tested this again, I guess IE is the only one that has neifty little floating text for the alt tags? ANYways, it works. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 03-24-2002 01:22
is what I use at http://www.runningwolf.com to lay things out a little nicer. Dunno about cross platform, though. |
Bipolar (III) Inmate From: Northwestern Lower Michigan, USA |
posted 03-24-2002 01:43
WOW! I even got the DOCS attention with this one! |
Lunatic (VI) Mad Scientist From: the Psychiatric Ward |
posted 03-24-2002 01:52
nn 4.7 PC. it broke. sorry. |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 03-24-2002 02:57 |
Bipolar (III) Inmate From: Northwestern Lower Michigan, USA |
posted 03-24-2002 06:36
Pugzly |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 03-24-2002 07:42 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-25-2002 22:22
What about TITLE? |
Bipolar (III) Inmate From: Northwestern Lower Michigan, USA |
posted 03-26-2002 16:29
Good question! |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 03-26-2002 17:26 |
Bipolar (III) Inmate From: Berlin, Germany |
posted 03-26-2002 17:51
I think Emperor means the <a href="bla.html" title="This is the title of a link">BLA</a> |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-26-2002 21:29
Whoops sorry - what the title as demonstarted so well by u-neek. |
Bipolar (III) Inmate From: Northwestern Lower Michigan, USA |
posted 03-27-2002 01:48
I don't get it.... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-27-2002 03:40
e- maestro: I use TITLE a lot. Basically ALT has been used (wrongly) to provide a little simple message when you mouseover, e.g. an image button, telling you what to do: code: <a href="home.html"><img src="" alt="Click me to go home" /></a>
code: <a href="home.html"><img src="" alt="Home" title="Click me to go home" /></a>
code: <a href="home.html" title="Visit the good doctor for DHTML fun">Doctor Ozone</a>
|
Bipolar (III) Inmate From: Northwestern Lower Michigan, USA |
posted 03-27-2002 05:27
OK...I think I understand... |
Bipolar (III) Inmate From: Berlin (almost) |
posted 03-27-2002 10:26
e-maestro, the trick is that you can use TITLE with almost every tag, not only with images! You could put it on a <div>, or on a <p> or anything else. And it would always display a little tooltip as the ALT does when it's used on images. |