On Thu, Dec 30, 2010 at 4:38 AM, Jonas Geiregat <jo...@geiregat.org> wrote: > <div class="btnwrapper"> > <div class="btn">... </div> > </div> > > Is it possible to change the css of the .btnwrapper class when hovering over > the .btn class ? > > I'm aware that it works the other way around when you're selecting the child > element on a parent's hover > But, what about selecting parent elements ?
In CSS, you cannot select parent elements based on their child elements. You need javascript for that. ~Chetan ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/