Reply to Re: CSS/HTML question

Your name:

Reply:


Posted by FFMG on 08/07/07 06:38

Jukka K. Korpela;85512 Wrote:
> Scripsit Ben C:
>
> >> So I would rather the url be forcefully wrapped to the next line
> >> rather than breaking my display.
> - -
> > The only way to do it is to put a zero-width space between each
> > character (​).
>
> The zero-width space character should not be expected to work
> consistently
> across browsing situations. In particular, it may well result in the
> display
> of a symbol for an unrepresentable character, if a browser does not
> recognize the special meaning of the character and does not even find
> a
> glyph for it in the available fonts.
>
> Note that there is no requirement in HTML specifications that the
> zero-width
> space be processed in any particular way, except that it be treated as
> a
> whitespace character. The rules of HTML do not require conformance to
> the
> Unicode Standard, or its line breaking rules in particular. It's more
> or
> less the general idea that the zero-width space should be treated as
> allowing a line break, but this is not a requirement.
>
> Using <wbr> is safer, despite being "nonstandard". It works in a great
> majority of browsing situations, and it causes no harm (it is simply
> ignored) when it does not work.
>
> Note that URLs should not be broken arbitrarily across line but only at
> some
> reasonable breaking points, like after a "/". So <wbr> should be
> inserted at
> selected positions only.
>
> --
> Jukka K. Korpela ("Yucca")
> http://www.cs.tut.fi/~jkorpela/

Thanks for the tip.

I will use <wbr>

FFMG


--

'webmaster forum' (http://www.httppoint.com) | 'Free Blogs'
(http://www.journalhome.com/) | 'webmaster Directory'
(http://www.webhostshunter.com/)
'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php) | 'Free URL
redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=19138

Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).

[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

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