|
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]
|