Re: the . class selector

Escape it. For example:
body\.head { color: red; }
body\.content { color: blue; }

See http://www.w3.org/TR/REC-CSS2/syndata.html#escaped-characters

Sigurd Lerstad wrote:

> Hello,
>
> I'm trying to apply a css stylesheet to nitf documents. I have a problem,
> many of the nitf elements have names like <body.head> and <body.content>,
> but the . symbol is reserved for specifying a class in a selector, how do I
> overcome this ?
>
> thanks,
>
> --
> Sigurd Lerstad

Received on Friday, 17 May 2002 14:43:49 UTC