RE: CSS equivalent to the NOBR tag?

> -----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 UTC