Forums

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

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #237563
    Frenchness
    Participant

    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…

    #237564
    Paulie_D
    Member

    You can’t “set” attributes with CSS…so NO.

    #237566
    Frenchness
    Participant

    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!!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.