CSS equivalent to the NOBR tag?

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&kon

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