Forums

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

Home Forums CSS how to make Dropdown with checkbox

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #42921
    sumitweb
    Participant

    Hi here is my code. Is it possible to make this type.

    sumit


  • sumit

  • sumit

  • sumit
#125655
sumitweb
Participant
#125656
Kitty Giraudel
Participant

You can’t do it this way. The select element involves some shadow DOM, so every tag between <option> is stripped off.

You will have to use a regular unordered list like [this](http://tympanus.net/Tutorials/CustomDropDownListStyling/index4.html) for example.

#125658
Alen
Participant

You can not have a checkbox in the dropdown select list.

http://codepen.io/anon/pen/suKrl

#125659
sumitweb
Participant

Thanks all

#125667
Paulie_D
Member

The question(s), I guess, is/are “What are you trying to do, and why?”

We may be able to offer alternative strategies.

#125668
Kitty Giraudel
Participant

@AlenAbdula Linking to w3schools isn’t a good advice. See http://w3fools.com/.

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