W3C home > Mailing lists > Public > www-style@w3.org > September 1998

CSS equivalent to the NOBR tag?

From: Hakon Lie <howcome@w3.org>
Date: Mon, 28 Sep 1998 10:57:31 +0200 (Europe de l'Ouest (Heure d'été))
Message-ID: <13839.20347.990000.921692@WWW53>
To: "Andrew n marshall" <amarshal@usc.edu>
Cc: "W3C Style List" <www-style@w3.org>
Andrew n marshall wrote:

 > I noticed the whitespace tag only applies to block level elements.  Is there
 > any equivalent to this for inline elements, similar to the use of NOBR in
 > HTML? 

Yes, the 'white-space' property takes a 'nowrap' value [1]. So, you
can e.g. say:

   CODE { white-space: nowrap }

[1] http://www.w3.org/TR/REC-CSS1#white-space


H   ĺ   k   o   n      W   i   u   m       L   i   e
howcome@w3.org      http://www.w3.org/people/howcome
World     W      i     d     e       Web  Consortium
Received on Monday, 28 September 1998 05:03:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:48 UTC