Right. In a CSS file you "escape" the "." with a "\".

So to reference:

    <div id="item.x">....</div>

You would write:

    #item\.x { background-color: red; }

Karl Rudd

On 3/22/07, Olaf Bosch <[EMAIL PROTECTED]> wrote:
> Marc Jansen schrieb:
>
> >         #item.x { background-color: red; }
>
> this select and make red this:
> <div id="item" class="x">....</div>
>
>
> --
> Viele Grüße, Olaf
>
> -------------------------------
> [EMAIL PROTECTED]
> http://olaf-bosch.de
> www.akitafreund.de
> -------------------------------
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to