Reply to Re: Making letters and symbols stay together

Your name:

Reply:


Posted by Ben C on 05/09/07 13:38

On 2007-05-09, Jonathan N. Little <lws4art@centralva.net> wrote:
> fuli open wrote:
>> When quoting an author, I have to do something like: "[T]his is a
>> quotation . . .' in one of my web pages. The problem is that when
>> the quotation happens to be at the end of a line, the browser does not
>> treat the [T]his as a whole word. On my page, the [T] remains at the
>> end of a line, but the 'his' is wrapped to the beginning of next
>> line. So this word would become:
>>
>> "[T] (end of first line)
>> his" (beginning of next line)
>>
>> I wonder how to make the letters and symbols stay together as a whole
>> word on web page for words such as this? Thanks for help.
>
> Somehow I think you are not giving us all the necessary information,
> like a *url*? Are yu just putting brackets [] around the character or
> does [] represent something less? A browser will typically not wrap
> within a word and if there are no spaces between the [] and the rest of
> the word it should not wrap.

I think you can break between ] and a Roman character without a space.
It's all done with Unicode breaking classes (or should be).

See http://unicode.org/reports/tr14/

Also the second link in a Google search for that:

http://www.cs.tut.fi/~jkorpela/unicode/linebr.html

[Back to original 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

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