View Full Version : Showing alt text box ???

01-21-2008, 04:38 PM
In Int Explorer, when you hover your cursor over a photo, the alt text shows in a little box. That doesn't work in Firefox. A few weeks ago, someone on this forum told me how to achieve the same thing with Firefox, but I have just got a new PC and have lost his instructions. Any ideas

d a v e
01-21-2008, 05:24 PM
use the title attribute (as well as the alt attribute) like

<img src="holidayphoto.jpg" alt="me on holiday in Jamaica" title="me on holiday in Jamaica">

01-21-2008, 05:54 PM
Thanks for that, but I'm being a bit thick here. Where is the titla attribute? I can see where the page title is, but I want to do this for lots of individual photos (ie: to put peoples names to photos, so that the name pops up when you hover your cursor)

01-21-2008, 06:04 PM
If you try what dave was suggesting you'll see it.
The alt attribute is a replacement for the image, for people that don't view images in their browsers. Think text browser, braille etc.
The title attribute is the one that is supposed to be seen in regular browser, just type it in exactly like dave suggested.

01-21-2008, 06:34 PM
Type where? In the alt box? I've tried all ways but it doesn't seem to work, I've even pasted yours into the alt box to see if "me on holiday in Jamaica" comes up ... but it doesn't. I can't see a title box except for the page title at the top.

d a v e
01-21-2008, 08:04 PM
with the image selected in DW i use the quick tag editor (ctrl + t) and then start to type in 'title' and you get an auto-complete list and if you press return it will insert

with the cursor blinkink in between the "". simply type in your title text there ;)

01-21-2008, 09:09 PM
Nearly there. Ctrl + t brings up this. The ../Images/Tiny Younger.jpg is highlighted in blue, and the flashing cursor is immediately after it. If I type anything in, and hit return .... it just deletes my photo. Where should I start to type title=""

<img src="../Images/Tiny Younger.jpg" alt="Geoff Younger" width="66" height="50" />

d a v e
01-21-2008, 09:18 PM
type it anywhere in that code but not over it at the end before the trailing slash / is good or after the alt text

<img src="../Images/Tiny Younger.jpg" alt="Geoff Younger" title="Geoff Younger" width="66" height="50" />

01-21-2008, 09:26 PM
THANKS .......... You did it. I finally got there. Thanks again. You can go and have a lie down now.