[thelist] Odd CSS selection loophole ...

e-head ebone+thelist at dotsandloops.net
Fri Mar 18 11:00:51 CST 2005

On 03/17/05 00:20 or thereabouts, M. Seyon scribbled:
> Message from e-head (3/16/2005 11:51 PM)
> >On 03/16/05 19:18 or thereabouts, M. Seyon scribbled:
> >
> >Ohh, it can definetly be done using another method ... right now I have a
> >class that I add all <a> tags too that fit this criteria (have a child
> ><img> element).
> This doesn't really say *what you want to do*. It's never nice to gripe and 
> moan about something not working the way you want and then be cryptic about 
> what you wanted it to do in the first place.

My original post could hardly be considered "griping and moaning", I was
merely pointing out some deficiences in the CSS selection rules.

Besides, why does it matter *what* I want to do ? It makes no difference.

If it makes you happy, this is what I want to do:
Give all <div> tags, that have a child <img> element a 10px blue border.

How do I go about selecting these <div> tags without resorting to using
a class ?

More information about the thelist mailing list