newz2000 | Anyone here know how to create a css rule that matches an element that has a child element with a paticular ID? | 16:11 |
---|---|---|
newz2000 | <p>Some text <span id="something">hi</span>.</p> | 16:11 |
newz2000 | make the whole paragraph blue because it has a span#something in it | 16:12 |
nand | I don't think this is possible... | 16:12 |
newz2000 | I think there's a way but it may not be browser supported | 16:13 |
nand | oh you know, why not use one of these non standard proprietary CSS style I see sometimes out there? :) | 16:14 |
newz2000 | Do you know of one? But I think there is a way in css3 | 16:15 |
nand | I didn't really studied CSS3 yet, and until a majority of browser support it.... heck, we still have to support IE6 :s | 16:16 |
newz2000 | in #css they say it's not possible, so I must have imagined it | 16:19 |
nand | if they would make it, they would have to rename CSS to CCSS :) | 16:21 |
nand | Cascading-climbing stylesheets | 16:21 |
newz2000 | :-) | 16:22 |
newz2000 | I know you can do it in xpath and it looks like css and xpath are getting closer to each other | 16:22 |
nand | we still have long days before it comes maintstream... | 16:27 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!