Ian Young wrote:
> Having some difficulty in formatting the size of the alt tags in my images.

if we are talking about the part in capitals here:

<img src="/myimages/myXPicture.jpg" ALT="TEXT-ALTERNATIVE TO THE IMAGE" 
title="This text will show as tooltip in all browsers" />

then it is an *attribute*. The alt-text, which is meant as an 
alternative if the image fails to load, is not consequently shown as 
tooltip when hovering the mouse above the image (it is only shown most 
of the times in Explorer), whereas the title-attribute makes a tooltip 
which comes up in all browsers.

If you want a faster tooltip, or one that can be formatted as regular 
HTML, you can use javascript (there's a lot of them out there for the 
purpose, keyword: tooltip), or you can do the thing with an inline tag 
inside the a-tag, as I have done on the 
<http://visesangere.dk/viseopt.html> (the "s.2" "s.26" "s.51" "s.76" and 
"s.101" links)

The technique is somewhat described and discussed in the thread that I 
begun December 10th 11:11am with the subject "CSS only tooltip in IE 
appears below other elements" 
<http://archivist.incutio.com/viewlist/css-discuss/67326> (I _may_ get 
the time to put a neat demo-only-this page together at some point, but 
not right now)

>   <img border="0" src="./logo/' <?= $row['logo'] ?>" alt="'
> <?=$row['ambusiness'] ?>at Recruiters-Online" /></td>

By the way, when trying to decipher what's wrong in your code, always 
use the code online (view-source in the browser), then you will also be 
aware if your PHP (this seems to be) turns out otherwise than intended :-)

And finally: it is kind to the rest of us, to begin a new thread instead 
of answering, and thereby "hijacking" an existing one. It might not show 
differently in your mail-program, but it does in mine, and it confuses 
matters in the archives ;-)


Best regards

Jesper Brunholm
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to