Alt tag problem

d a v e

New Member
alt ATTRIBUTES are only seen when the image is missing. (except in old version of IE that mistakenly display it)

you just need to add the title attribute to the image

<img class="jeans-photo" src="../../images-general/jean-morrison-head.jpg" alt="Pressed metal ceilings sold by Jean Morrison" title="Pressed metal ceilings sold by Jean Morrison" />
 

jeanm

Member
Dave this is weird. Look at this site on IE and the picture titles come up even when I haven't got Titles in the code. Now I'm really puzzled :confused:
 

d a v e

New Member
yeah for me versions 7 and below of IE show the alt attributes - it took them until version 8 of IE to correct their mistake. just put the title attributes in and your set to go ;)
 

jeanm

Member
I've just checked mine and it is version 9. So it is displaying two of my sites differently even in the same IE version. Strange?

At least I know how to fix the problem now.
 

jeanm

Member
You are spot on Dave. I didn't know anything about compatibility mode till then. So much to learn, so much to learn.......
 

d a v e

New Member
i know what i know pretty well but there plenty of related things i'm ignorant or unsure of ;)
being able to ask on forums is great - it's like having a big team of designers and developers you can tap for knowledge
 

jeanm

Member
In Dreamweaver CS5 there doesn't seem to be an area for me to code in titles for images. Seems it would always need to be done manually. Wonder why it is this way?
 

jeanm

Member
Hi rahmanpaidar. I've got all the alt tags in there but now I'll have to manually go through all three of my web sites to input the title for each image. I don't know why they don't have it in Dreamweaver just like you input the alt tag.
 

rahmanpaidar

New Member
Hi rahmanpaidar. I've got all the alt tags in there but now I'll have to manually go through all three of my web sites to input the title for each image. I don't know why they don't have it in Dreamweaver just like you input the alt tag.

If have not noticed this problem in Dreamweaver since I write usually HTML codes manually. It is much simpler for me than using Html editor. Html Editors often mess up the codes and stuff redundant code with unnecessary codes and in some cases they destroy your code.
 

d a v e

New Member
if you select the image in design view (click it ) in DW then press ctrl+t to bring up the quick tag editor then type in the

title="text here"

bit
 
Top