Yes, of course. As you demonstrated, if you want to select by id as
well then you put the id first. So conceivably you could write
something like:

    p#anId.aClass.anotherClass.stillAnotherClass

And it would only match elements like this:

    <p id="anId" class="stillAnotherClass aClass someIrrelevantClass
anotherClass"></p>

Karl Rudd

On Jan 31, 2008 1:23 PM, Erik Beeson <[EMAIL PROTECTED]> wrote:
>
> > You're looking for:    .selector1.selector2.selector3
> >
>
> But, that's only if selector1, selector2, and selector3 are all classes,
> yes?
>
> --Erik
>

Reply via email to