Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Can I refer to an item in an other parents? Reply To: Can I refer to an item in an other parents?

#248068
Shikkediel
Participant

Because my buttons are in a div

No need to try… can’t be done. With CSS it’s not possible go up the element tree, only down.

There was something in the spec that would make such a thing possible (the subject indicator) but they apparently scratched it from the spec.

Piece of cake with JS of course.

Edit – a late reply without seeing the previous one…