Reply to Re: Please Check My Page

Your name:

Reply:


Posted by Greg N. on 03/14/06 01:06

Coretys wrote:

> I tried to make sure that my header gets split at an exact point in the
> middle, and not only 1 charcter on a new line. That happens with
> Japanese, because they don't use spaces at all. is there a way to
> accomplish this without using the <nobr> tag? I get an erro message,
> when I check the page on W3C.

I'm not sure what follows is a clean, side-effect free approach, but it
may work for you: Write your characters in groups, and put spaces where
line breaks are allowed. For example:

<h1 class=tie>ABC DEFG HIJ</h1>

Use CSS to make te spaces invisible:

..tie {word-spacing:-.25em;}

This will be rendered as ABCDEFGHIJ, but line breaks, if necessary, will
only occur between C-D or G-H.

--
Gregor mit dem Motorrad auf Reisen:
http://hothaus.de/greg-tour/

[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

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