You are here: Re: wrapping and tables « HTML « IT news, forums, messages
Re: wrapping and tables

Posted by Jukka K. Korpela on 08/25/05 02:16

"Safalra" <usenet@safalra.com> wrote:

> Surely the right question would be 'How do I persuade browser
> programmers to implement sensible wrapping algorithms?'?

Nope. Correct wrapping is grossly more complex than browsers could
conceivably implement, especially since HTML specifications are silent
about the matter. We've seen enough of the wrong wrapping behavior that
tries to apply Unicode line breaking rules blindly (breaking e.g.
"-a" into "-" and "a" on separate lines).

Sensible wrapping would require recognizing the language and using
language-dependent hyphenation, to start with.

> I took his question to mean that he was annoyed by that
> fact that a long word in a table cell causes it to take up a great
> width, when he would prefer that column to be narrower

So did I. Setting the width in pixels was an additional ingredient.

> (and here we
> have the problem of browsers also having poor table-layout algorithms).

Browsers are _supposed_ to treat width settings as suggested minimum
widths.

> It can hardly be his fault if someone has a very long given name...

It is. It is his or her responsibility to check data that goes to the page,
and handle problems suitably.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация