PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

IE8 and Alt tags for Images

 
 
Michael
Guest
Posts: n/a
 
      4th Mar 2009
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.

When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.

I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?

Any advice welcomed, or even suggestions as to where to ask the question
.............. Michael

 
Reply With Quote
 
 
 
 
C A Upsdell
Guest
Posts: n/a
 
      4th Mar 2009
Michael wrote:
> I have several websites that were built using Front Page 2003, for example
> http://www.oradour.info and all the images have 'Alt' tags set to give
> additional information.
>
> When I view the site using IE8, the Alt Tag text does not display, when I
> press the Compatibility View button, the text displays correctly.
>
> I would not have thought that there should be any compatibility issues here
> and that the Alt Tag text should show normally, am I missing something?


The ALT text should appear only if its image does not. I suspect that
you want text to appear when the cursor points to the image, and for
that you should be using the TITLE attribute, not the ALT attribute.


 
Reply With Quote
 
PA Bear [MS MVP]
Guest
Posts: n/a
 
      4th Mar 2009
IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

IE Beta Public Newsgroup Support: microsoft.public.internetexplorer.beta

Via the web-interface:
http://www.microsoft.com/communities...texplorer.beta

Via your newsreader:
news://msnews.microsoft.com/microsof...texplorer.beta

Or you could post here instead:

MSDN IE Development Forums
http://forums.microsoft.com/MSDN/def...D=253&SiteID=1
--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Client - since 2002
AumHa VSOP & Admin http://aumha.net
DTS-L http://dts-l.net/

Michael wrote:
> I have several websites that were built using Front Page 2003, for example
> http://www.oradour.info and all the images have 'Alt' tags set to give
> additional information.
>
> When I view the site using IE8, the Alt Tag text does not display, when I
> press the Compatibility View button, the text displays correctly.
>
> I would not have thought that there should be any compatibility issues
> here
> and that the Alt Tag text should show normally, am I missing something?
>
> Any advice welcomed, or even suggestions as to where to ask the question


 
Reply With Quote
 
Michael
Guest
Posts: n/a
 
      4th Mar 2009
You learn something everyday. I had never heard of the TITLE attribute and
had no need of it with IE7, as this allowed the text to appear when the mouse
was pointed towards the image.

Thank you for the advice ............ Michael

"C A Upsdell" <""cupsdell"@nospam@upsdel" wrote:

> Michael wrote:
> > I have several websites that were built using Front Page 2003, for example
> > http://www.oradour.info and all the images have 'Alt' tags set to give
> > additional information.
> >
> > When I view the site using IE8, the Alt Tag text does not display, when I
> > press the Compatibility View button, the text displays correctly.
> >
> > I would not have thought that there should be any compatibility issues here
> > and that the Alt Tag text should show normally, am I missing something?

>
> The ALT text should appear only if its image does not. I suspect that
> you want text to appear when the cursor points to the image, and for
> that you should be using the TITLE attribute, not the ALT attribute.
>
>
>

 
Reply With Quote
 
C A Upsdell
Guest
Posts: n/a
 
      5th Mar 2009
Michael wrote:
> You learn something everyday. I had never heard of the TITLE attribute and
> had no need of it with IE7, as this allowed the text to appear when the mouse
> was pointed towards the image.


The problem, as I hope you have now discovered, is that the ALT
behaviour you were used to is incorrect, and always has been: IE has
supported TITLE for a long, long time, but continued to make ALT work as
you expected, in order to maintain compatibility with extinct browsers.

 
Reply With Quote
 
gophigure
Guest
Posts: n/a
 
      21st Mar 2009
This seems sporadic. One of my websites shows the "alt" text and one does
not. Both were built using the "alt" tags. I don't understand why one works
and one doesn't.


"C A Upsdell" <""cupsdell"@nospam@upsdel" wrote:

> Michael wrote:
> > I have several websites that were built using Front Page 2003, for example
> > http://www.oradour.info and all the images have 'Alt' tags set to give
> > additional information.
> >
> > When I view the site using IE8, the Alt Tag text does not display, when I
> > press the Compatibility View button, the text displays correctly.
> >
> > I would not have thought that there should be any compatibility issues here
> > and that the Alt Tag text should show normally, am I missing something?

>
> The ALT text should appear only if its image does not. I suspect that
> you want text to appear when the cursor points to the image, and for
> that you should be using the TITLE attribute, not the ALT attribute.
>
>
>

 
Reply With Quote
 
C A Upsdell
Guest
Posts: n/a
 
      21st Mar 2009
gophigure wrote:
> This seems sporadic. One of my websites shows the "alt" text and one does
> not. Both were built using the "alt" tags. I don't understand why one works
> and one doesn't.


DOCTYPES maybe? What modes are the sites rendered in? A site in quirks
mode would likely show the ALT text on hover; a site in standards mode
should not do so.

> "C A Upsdell" <""cupsdell"@nospam@upsdel" wrote:
>
>> Michael wrote:
>>> I have several websites that were built using Front Page 2003, for example
>>> http://www.oradour.info and all the images have 'Alt' tags set to give
>>> additional information.
>>>
>>> When I view the site using IE8, the Alt Tag text does not display, when I
>>> press the Compatibility View button, the text displays correctly.
>>>
>>> I would not have thought that there should be any compatibility issues here
>>> and that the Alt Tag text should show normally, am I missing something?

>> The ALT text should appear only if its image does not. I suspect that
>> you want text to appear when the cursor points to the image, and for
>> that you should be using the TITLE attribute, not the ALT attribute.
>>
>>
>>

 
Reply With Quote
 
New Member
Join Date: Mar 2010
Posts: 2
 
      22nd Mar 2010
I noticed that image tooltips were missing in IE8 and Firefox for all web pages I had designed. I then realised I had only specified alt attributes instead of title attributes!

Having a portfolio of hundreds of Web pages, I was faced with the time-consuming task of adding title attributes to applicable images. Thankfully I stumbled upon a Windows application called Alt&Title that did this tiresome task for me!

Instead of spending hours manually adding title attributes, Alt&Title did it for me in minutes.

Give it a go. I hope you find it as useful as I have!

Here is the web page promoting it...

http://www.flysoftware.com/products/altandtitle/overview.asp
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you get text XML tags instead of purple tags in Word 2003? lasloo Microsoft Word Document Management 0 3rd Mar 2009 05:06 PM
where can I find a list of xml tags for Ribbon images/icons? BruceA Microsoft Access Database Table Design 1 1st Feb 2008 01:15 AM
writing tags in tiff images Geordie Microsoft Dot NET Framework 1 29th May 2007 03:14 PM
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson Microsoft ASP .NET 3 28th May 2005 05:11 PM
Images in Signature Tags =?Utf-8?B?U3VzYW4=?= Microsoft Outlook Discussion 0 9th Mar 2005 10:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.