The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Set input attribute 'disabled' to input in special element
I hope you can help :)
I want to assign the attribute ‘disabled’ to a radio button IF it is located inside a div that listens to the ‘grey-light’ class.
Is there a way to do that with just CSS? It would imply assigning an attribute so I am not sure…
You can’t “set” attributes with CSS…so NO.
Ah, thought so. It would have been great though. I actually posted this one twice after rereading and editing, forget the second one :) You’re fast!!!