You are here: Re: Text from top to bottom (like Japanese) « HTML « IT news, forums, messages
Re: Text from top to bottom (like Japanese)

Posted by Ben C on 07/19/07 16:16

On 2007-07-19, Mathias K. <mformetalhead@yahoo.de> wrote:
> Thanks for your answer.
>
> Actually i don't even want to display a whole text in columns from top to
> bottom and right to left, it's only one column.
>
> Within an online dictionary i want to display the original Japanese word in
> a vertical column in the left, and to the right there shall be the
> readings, translation and descriptions. So i want it to be written
> vertically also for practical reasons.
>
> Usually i could achieve this effect by putting a <br> tag between every
> character. Now here's the problem: I'm working with PHP, which is not (yet)
> UTF-8 compatible. Thus, i cannot simply split every byte (character) as i
> could do with Western language strings, since Japanese characters can be 2
> to 6 bytes long. That's why i hoped to find a HTML solution to this.
>
>:-\

You could just put the word in a very narrow container since line breaks
are allowed between Japanese characters.

e.g.

<div style="width: 1px">
オンライン和英辞典
</div>

You might of course want to put that whole div in a slightly wider one
so the text doesn't overlap things to the right.

 

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

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