Changing 'Alt Text' font

C

Chull13

I've done some searching but don't see how to change the font/size of
the Alt Text. I tried some quick hacking with style = , but nothing
else yet.
I'm not using CSS.
Any sugestions?
Thanks!
 
H

Hot-text

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
</head>
<body>
<h1>A Cool Banner</h1>
<img alt="coollogo_com_304251166.gif (14K)"
src="/Documents%20and%20Settings/HP_Administrator/My%20Documents/reform/buttons/banner/coollogo_com_304251166.gif"
height="52" width="152" />
<small>Banner By: Hot-Text</small>
</body>
</html>



But when a Text Browser read it it look like this

A Cool Banner
coollogo_com_304251166.gif (14K)
Banner By: Hot-Text

alt was for Old Text Browser Today it for convert text to speech
And will Say::

A Cool Banner
image coollogo com 304251166.gif side 14K
Banner By: Hot-Text

My God I can See!!!

But if it can be done I would look at W3C
http://www.w3.org/MarkUp/html3/img.html
 
R

Ronx

The size and font of the alt-text (and title text) are set by the Operating
System, not by the browser or any markup in the page, whether HTML or CSS.
If you want pop up text styled as *you* want it you will have to use DHTML
(combination of HTML, CSS and JavaScript) to produce the pop-up.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
R

Ronx

FYI - alt-text only appears in modern browsers if the image is missing for
any reason - then in FireFox it will take on the appearance given by
whatever styling is applied to the container the image is in. In IE it will
be small and unreadable - same as the pop-up alt text in older browsers.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
C

Chull13

Ronx,
Thanks for getting back.
But...
I have found that on several different computers, WinXP Pro and
Home, IE 7 & 8, Chrome and Foxfire that the Alt text will Always
display when the cursor is over the Picture - the Pic is there and can
be seen.
Since the Alt Text is visbale when I look I have been using it as
a 'Title' for the Pics.
Strange!

Thanks!
 
R

Ronx

Alt text or title text?
IE con be configured to always show the alt text, and all browsers will show
the title text.

<img src="pic.jpg" alt="Alternative text" title="description of picture">

The HTML recommendations state that alt text is there to describe the image
*when the image cannot be displayed*
title text is there to describe the image at all times.
Firefox adheres to this standard, IE 7 and 8 "out of the box" do as well,
but can be configured to show alt text at all times. Do not count on alt
text appearing for all users.

I have never tested Foxfire, and will not install Chrome until it installs
in the Program Files folder. A browser is not application data.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
R

Rob Giordano [MS MVP]

OT
I have never tested Foxfire, and will not install Chrome until it installs
in the Program Files folder. A browser is not application data.

wow, never noticed that. wonder why?
I like Chrome, fast and simple.



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression Web
 
C

Chull13

Hey - thanks both for the info!
I didn't know about Title text and will check it out!

For me on 2 different computers Chrome is fast to start but slows Way
Down very quickly!! I have no idea why and don't want to spend the
time to find out - but will use it to test my Sites with.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top