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

RE: CSS equivalent to the NOBR tag?

From: Braden N. McDaniel <braden@shadow.net>
Date: Mon, 28 Sep 1998 05:41:35 -0400
To: "Hakon Lie" <howcome@w3.org>, "Andrew n marshall" <amarshal@usc.edu>
Cc: "W3C Style List" <www-style@w3.org>
Message-ID: <001101bdeac4$2e9d9210$01000080@bonezero>
> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org]On
> Behalf Of Hakon Lie
> Sent: Monday, September 28, 1998 4:58 AM
> To: Andrew n marshall
> Cc: W3C Style List
> Subject: 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

Well, yes... But my (and, I believe, Andrew's) impression is that this won't
have any effect unless you've also set CODE to have block display.

Braden

<http://www.endoframe.com>
Received on Monday, 28 September 1998 05:39:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:56 GMT