Table cell width

J

Jukka K. Korpela

Under Subject Re: Horizontal tabs (was Re: Table cell width)
2012-01-13 10:45 said:
Oh my. So Chrome is seriously broken, too. And if I change its settings
by telling it not to show any images, it draws an empty bordered
rectangle corresponding to each image, without any alt text.

Please tell me this is a bad dream.

Sorry, myself, it isn't. Instead, it is a longstanding bug in
WebKit-based browsers, see e.g.
http://code.google.com/p/chromium/issues/detail?id=773
It was reported in 2008, and still no fix.

Those bas...browsers show the alt text (in case of a missing image) only
if both of the following conditions are satisfied:
1) The dimensions of the image have been specified in HTML attributes or
in CSS.
2) The alt text fits on one line within those dimensions.
 
D

dorayme

Jukka K. Korpela said:
Under Subject Re: Horizontal tabs (was Re: Table cell width)

I thought your above was a rhetorical question, the issue has annoyed
me for years! And years ago I did offer a URL test page ( I think on
alt.html) here for these or similar matters. I think it was more than
anyone really wanted to know about at the time.

But I will update it a little now to include factors you have
discovered that affect matters (below). And move it to a more
convenient server.
 
J

Jukka K. Korpela

<http://dorayme.netweaver.com.au/alt_text/>

If anyone wants to add any other relevant test, please advise.

<img src="noSuchPic.jpg" alt="two kookaburras" width="100" height="82">

It would demonstrate that Chrome et al. fail to show the alt text even
if it would fit into the allocated dimensions just fine, if divided into
two lines.

<img src="noSuchPic.jpg" alt="two
kookaburras" width="100" height="82">

This illustrates that they don’t divide the text even when there is a
line break in the alt attribute value. (I won’t argue about the question
whether they should do so by the specs; just that they actually don’t.)
 
D

dorayme

Jukka K. Korpela said:
<img src="noSuchPic.jpg" alt="two kookaburras" width="100" height="82">

It would demonstrate that Chrome et al. fail to show the alt text even
if it would fit into the allocated dimensions just fine, if divided into
two lines.

<img src="noSuchPic.jpg" alt="two
kookaburras" width="100" height="82">

This illustrates that they don¹t divide the text even when there is a
line break in the alt attribute value. (I won¹t argue about the question
whether they should do so by the specs; just that they actually don¹t.)

I added these two as best I could. Firefox seems the most
accommodating, it shows real respect for alternative text, not even
trying to squeeze it into the image dimensions but taking more
liberty. But, I am pleased to say, IE 7 and 8 and probably 9 do it
very nicely within the confines of the image dimensions, at least for
those with not unusually large text size and at least for shortish alt
text.
 
J

Jukka K. Korpela

But, I am pleased to say, IE 7 and 8 and probably 9 do it
very nicely within the confines of the image dimensions,

Moreover, there is a setting (in the Advanced pane) in IE that tells it
to "expand" alt texts, i.e. to show them in full even when they do not
fit inside the dimensions.
 
N

Neil Gould

dorayme said:
I added these two as best I could. Firefox seems the most
accommodating, it shows real respect for alternative text, not even
trying to squeeze it into the image dimensions but taking more
liberty. But, I am pleased to say, IE 7 and 8 and probably 9 do it
very nicely within the confines of the image dimensions, at least for
those with not unusually large text size and at least for shortish alt
text.
Even IE6 displays the entire alt text correctly.
 
H

Hot-Text

Jukka K. Korpela

You do know the Error is you,
not the Browsers...
For Chrome, Safari is a HTML..
if your Image is broken is look for title=,
not ALT=...

For ALT is for Text Browsers only,
is why we put them is the code for.
so that the Text Browser be able the know it a Image,
if your Image name is p135.gif, do not put that in your ALT,
But if it's a Dog, Put [Image of a Red 2 year old Minpin Dog].


Add this Browser to you tool Box.......
< http://lynx.browser.org/ >

And always remember that Chrome,
Safari are not Fox and IE,
Who add the ALT to the browser,
So when you Run FF and IE in Text Mode,
you be able to know it's a Image...

Text Mode IE and FF ???
yes it have a auto Text mode build in...

Chrome and Safari do not have that why it can not read ALT,
Out only look for HTML tags like:
<img title="Image of a Red 2 year old Minpin Dog (7K) GIF">"
It see no Text Mode tags like:
<img alt="Image of a Red 2 year old Minpin Dog (7K) GIF">

You do I need alt for?
You need it for Text Browsers,
like User-agent Googol Robot, Bing Robot, or
some one like me,
who go to you website with a Text Browsers first,
to keep my XP save from micros.....
 
D

dorayme

Jukka K. Korpela said:
Try checking what the specifications say.
....

http://www.w3.org/TR/html4/struct/objects.html#adef-alt

If someone just reads the first sentence

"alt = text [CS]
For user agents that cannot display images, forms, or applets..."

they might get the wrong impression from the "cannot".

However it is made clearer in the following text that this includes
where the browser does not in fact display an image. It mentions
"those who have configured their graphical user agents not to display
images, etc." In the etc. I guess we can think of mistakes in
transmission, mistakes in typing or naming correctly the path or img
or img src.

In browser preferences or options, the existence of alt text could in
principle be controlled a bit. I think it can be a little in some
browsers. In FF, there is a setting in about: config.

browser. display. force_inline_alttext

to do with how text and icons are to be displayed:

Boolean

True: Force broken images'
alt text to be displayed inline

False (default): Show an icon
if rendering in Quirks Mode
and there is no alt text,
or if rendering in Quirks
Mode and the image has a
size specified.

JK, remember how you mentioned recently, this thread or one that it
replaced, about some browsers needing width and heights as a condition
for display of alt text? I note that in the above, FF touches on such
matters. Perhaps 'Chrome, Safari et al' have made fixed and
unfortunate decisions on this matter and there is no choice?
 
B

Beauregard T. Shagnasty

Jukka said:
Try checking what the specifications say. Stay tuned to getting
embarrassed. For your convenience, here's a deep link:
http://www.w3.org/TR/html4/struct/objects.html#adef-alt

Jukka, the person posting today as "Hot-Text" (though he has several
other nyms as well) uses a random word generator for creating posts.
Nearly all of what he says can be safely ignored.

Though it probably is a good idea to sometimes reply so newbies don't get
confused and think he wrote something worthwhile.
 
H

Hot-Text

\"Beauregard T. Shagnasty said:
Jukka, the person posting today as "Hot-Text" (though he has several
other nyms as well) uses a random word generator for creating posts.
Nearly all of what he says can be safely ignored.

Though it probably is a good idea to sometimes reply so newbies don't get
confused and think he wrote something worthwhile.

For it's ALT= Alternate Language Text,
is for Browsers to know that it reading Texts,

For HTML= Hypertext Markup Language,
is for Browsers to know that it reading Hypertext...
it tell a Text Browsers, not to look at <between>,
for it HTML and you can not read it....

For if some one would take a little more time in read my post,
they would have seen I said the same thing as:

< http://www.w3.org/TR/html4/struct/objects.html#adef-alt >

<Title="13.8 How to specify alternate text">

And add a Title= to your Hypertext Markup Language Image,
so that it Show up the Image name in all Browsers,
When running Mouse over it........

Beauregard T. Shagnasty
uses a random word generator for creating posts..
Show us how all I know is HTML,

this is ALT.HTML= Alternate Language Text & Hypertext Markup Language
it to let you know you at a Texts Server, at a Group knows HTML
you need to Know that you maybe lost.......
 
H

Hot-Text

Jukka K. Korpela said:
Try checking what the specifications say. Stay tuned to getting embarrassed. For your convenience, here's a deep link:
http://www.w3.org/TR/html4/struct/objects.html#adef-alt

You do know that you Error agene,

For it's ALT= Alternate Language Text,
is for Browsers to know that it reading Texts,

For HTML= Hypertext Markup Language,
is for Browsers to know that it reading Hypertext...

It tell a Text Browsers, not to look at <or <between> or at>,
for it's HTML and that Browsers is unable to read it....
But if <ALT< is inside the HTML it's to read Between ="Open "Close>Only>...
Text Browsers not to show the <> just the Texts in Between "" or '' only..

For if some one would take a little more time in read my post,
they would have seen I said the same thing as:

< http://www.w3.org/TR/html4/struct/objects.html#adef-alt >

<Title="13.8 How to specify alternate text">

And add a Title= to your Hypertext Markup Language Image,
so that it Show up the Image name in all Browsers,
When running Mouse over it........

Now for www.w3.org is a joke..
if I am able to make Codes that work in all Browsers,
and when check with w3.org said it not W3C Recommendation,
I tell you it my code and my ©,....


Houston #1 Minpins

I always #1 at Bing.com
I always #1 at Yahoo.com
I always on the First Page At #8 Google

it Not W3C Recommendation......
Nor is Google, Yahoo and Bing..
 
B

Beauregard T. Shagnasty

Hot-Text generated:
For it's ALT= Alternate Language Text, is for Browsers to know that it
reading Texts,

Well, there is no point in going any further trying to translate your
randomly-generated words. Please come back when you decide to write in
plain English.
 
H

Hot-Text

Beauregard T. Shagnasty said:
Hot-Text generated:


Well, there is no point in going any further trying to translate your
randomly-generated words. Please come back when you decide to write in
plain English.

If you unable to translate Plain H T M L,
it not the English Words, you are unable to translate,
But the Code that is in between the English Words,

For I write with code and English,
your need to get a translate code like:


For it's ALT= Alternate Language Text,
is for Browsers to know that it reading Texts,

Not your translate..........
 
H

Hot-Text

Jonathan N. Little said:
No. ALT is the HTML attribute for "alternate text"

See:

13.8 How to specify alternate text
^^^^^^^^^^^^^^
<http://www.w3.org/TR/html401/struct/objects.html#adef-alt>

There is no reference to "Alternate Language Text"
for alt is a CTA: Common Text Abbreviations
Plain Text is a code when it's imbedded in HTM Language code and,
Browsers need to know when to Alternate Language to Text,
and Alternate back to HTM Language Code..

For there is Language Code marker,
in HTML to tell the Browsers to Alternate Code Language,

Browsers Alternate Code Language to
<?PHP ?>
Browsers Alternate Code Language back to Text

For <> is Start and End,
^^^^
Not Lesser Then < or > Not Greater then,
But this it is: said:
"Not your translate"?

Here same CTA: Common Text Abbreviations

BBS: Be back soon
BBT: Be back tomorrow
BIB: Boss is back
CM: Call me
CYE: Check your email
DIKU: Do I know you?
F2F: Face to face
HB: Hurry back
JFF: Just for fun
KOTC: Kiss on the cheek
OMG: Oh my God!
OOTO: Out of the office
PSOS: Parents standing over shoulder
PU: That stinks!
SLAP: Sounds like a plan
TMB: Text me back
UGTBK: You’ve got to be kidding
NYTL: Not your translator
CYTLT: Can you translate that

But CTA: Common Text Abbreviations

DO you know the Common Text Abbreviations for HTML?
I done the first one for you

ALT: Alternate Language Text
TD:
TR:
IMG:
A:
BR:

A your translator look for words not Abbreviations.....
 
J

Jonathan N. Little

Hot-Text said:
for alt is a CTA: Common Text Abbreviations

Plain Text is a code when it's imbedded in HTM Language code and,
Browsers need to know when to Alternate Language to Text,
and Alternate back to HTM Language Code..

Huh? not it is just an attribute name, like SRC, WIDTH, HEIGHT, ID....
For there is Language Code marker,
in HTML to tell the Browsers to Alternate Code Language,

Browsers Alternate Code Language to
<?PHP ?>
Browsers Alternate Code Language back to Text


For <> is Start and End,
^^^^
Not Lesser Then < or > Not Greater then,

adverb pronoun verb

Not a coherent sentence make
Here same CTA: Common Text Abbreviations

BBS: Be back soon
BBT: Be back tomorrow
BIB: Boss is back
CM: Call me
CYE: Check your email
DIKU: Do I know you?
F2F: Face to face
HB: Hurry back
JFF: Just for fun
KOTC: Kiss on the cheek
OMG: Oh my God!
OOTO: Out of the office
PSOS: Parents standing over shoulder
PU: That stinks!
SLAP: Sounds like a plan
TMB: Text me back
UGTBK: You’ve got to be kidding
NYTL: Not your translator
CYTLT: Can you translate that

But CTA: Common Text Abbreviations

DO you know the Common Text Abbreviations for HTML?
I done the first one for you

ALT: Alternate Language Text
TD:
TR:
IMG:
A:
BR:

A your translator look for words not Abbreviations.....

However ALT in this situation is the HTML attribute ALT that is not an
initialism for "Alternate Language Text" just a attribute name to assign
the IMG's alternate text value. Just as SRC attribute is not some
bizarre initialism such as "Sounds Really Crazy" but the name of the
attribute to assign the source for the image data.
 
D

dorayme

Jonathan N. Little said:
Hot-Text wrote: ....

Huh?

Why on earth are you bothering? I know, I know, it is probably raining
over there like it has been here for days on end. <g>
 

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

Members online

Forum statistics

Threads
474,075
Messages
2,570,562
Members
47,197
Latest member
NDTShavonn

Latest Threads

Top