[thelist] Odd CSS selection loophole ...

M. Seyon evoltlist at delime.com
Wed Mar 16 17:18:03 CST 2005


Message from e-head (3/16/2005 03:00 PM)

>I think I found a weird "selection" loophole in css.
>
>Logically, I need "all *anchor* tags that have a *img* tag as a child"
>... i.e.  <a href=""><img src=""/></a>
>
>I need to apply styles to *a* tags with this nesting structure.
>
>via css .... one can select only tags "with certain parents" ... but not
>only tags "having certain children" it would seem.

May I ask what you want to do that requires this? Maybe there's another way 
to accomplish what you want.

regards.
-marc

--
Trinidad Carnival in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/


More information about the thelist mailing list