You are here: Re: Manual break « HTML « IT news, forums, messages
Re: Manual break

Posted by Jukka K. Korpela on 08/19/07 18:38

Scripsit Rafal Maj:

> Hello,
> is there a html entity or something that tells browser where it can
> brake text when lacking white spaces?

There's something, namely the <wbr> tag, which is widely supported by
browsers though not contained in any specification.

> In example I have text:
> aaaaaaaaaaaaammmmmmmmmmmmmmmmmmmmmmmmmmmzzzzz

Looks somewhat odd. I wonder what it means. Generally, when you have such a
problem, it's best to consider whether the content is meaningful and how it
might be changed.

> and its displayed in container that (with this font etc) will hold up
> to 10 characters (or will overflow etc which is bad).

"Doctor, it hurts when I do this."
"Then don't do that."

That is, why do you create the problem by squeezing something into a narrow
area where it cannot fit?

More info: http://www.cs.tut.fi/~jkorpela/html/nobr.html#suggest

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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