Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Alt text not appearing in localhost

0 views
Skip to first unread message

S N

unread,
Feb 24, 2010, 12:22:42 PM2/24/10
to
Alt text not appearing in localhost , but appearing as expected in
production server.

Please advise


Dooza

unread,
Feb 25, 2010, 3:59:00 AM2/25/10
to
On 24/02/2010 17:22, S N wrote:
> Alt text not appearing in localhost , but appearing as expected in
> production server.

Only IE displays alt text as tooltips, it shouldn't, it should only show
it when the image is missing or turned off. If you want tooltips use the
title attribute. All other browsers get the correct, its only IE that fails.

Dooza

Ken Schaefer

unread,
Feb 27, 2010, 10:03:26 AM2/27/10
to
Has nothing to do with IIS. Alt text is a browser implementation. As long as
it's there in the HTML source, it should work.

Verify the HTML source, and then try using another browser to see if it's a
problem with the browser you are using.

Cheers
Ken

--
http://adOpenStatic.com/blog

"S N" <uand...@invalid.com> wrote in message
news:umBb7XXt...@TK2MSFTNGP04.phx.gbl...

S N

unread,
Mar 2, 2010, 10:56:58 AM3/2/10
to
HTML source in both situations contains the ALt text. Still the tooltip
appears only in case of actual production server url
Does it have something to do with the browser settings in terms of security
etc.


"Ken Schaefer" <kenR...@THISadOpenStatic.com> wrote in message
news:uz2SC47t...@TK2MSFTNGP05.phx.gbl...

Dooza

unread,
Mar 2, 2010, 11:09:23 AM3/2/10
to
On 02/03/2010 15:56, S N wrote:
> HTML source in both situations contains the ALt text. Still the tooltip
> appears only in case of actual production server url
> Does it have something to do with the browser settings in terms of security
> etc.

What browsers are you using?

If your using IE8, and its NOT in compatibility view, then ALT
attributes will NOT show, as they never were supposed to.

It sounds like you have IE8 installed on your local test server, so ALT
attributes wont work. You probably have IE7 or IE8 in compatibility view
on your local server, and it is using the old behaviour where ALT
attributes are working like tooltips.

The solution? Use the TITLE attribute as well as the ALT attribute, that
way it will work correctly on all browsers.

Dooza

0 new messages