W3C home > Mailing lists > Public > www-validator@w3.org > December 2008

Re: Question about W3C XHTML standard and accesebility

From: olivier Thereaux <ot@w3.org>
Date: Fri, 19 Dec 2008 08:06:27 -0500
Cc: <www-validator@w3.org>
Message-Id: <23EC1D61-6640-4FF8-BEB0-B921181285B0@w3.org>
To: "Ivan Blagoveschenskiy" <ivan.blagoveshchenskiy@arealsoft.ru>

Hello Ivan,

On 19-Dec-08, at 2:59 AM, Ivan Blagoveschenskiy wrote:
> I will try to explain problem on this fragment of text:
> "...is making ARS-network more stable...".
> Look on the XHTML code:
> "...is making <nobr>ARS-network</nobr> more stable...".
> It is not valid in XHTML, but it's working in popular browsers.

<nobr> has never been added to any standard version of HTML indeed. It  
enjoys some support in browsers but never was standardized.

The standard alternative is to use CSS to control white-space  
behavior, something like

in your CSS:
span.nobreak {white-space: nowrap;}

in your HTML:
is making <span class="nobreak">ARS-network</span> more stable

Hope this helps,
Received on Friday, 19 December 2008 13:06:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:57 UTC