The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

how to make Dropdown with checkbox

  • # February 22, 2013 at 4:05 am

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


  • sumit

  • sumit

  • sumit
# February 22, 2013 at 4:13 am

here is code

# February 22, 2013 at 4:17 am

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]( for example.

# February 22, 2013 at 4:22 am

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

# February 22, 2013 at 4:27 am

Thanks all

# February 22, 2013 at 5:28 am

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

We may be able to offer alternative strategies.

# February 22, 2013 at 6:06 am

@AlenAbdula Linking to w3schools isn’t a good advice. See

# February 22, 2013 at 7:03 am

This reply has been reported for inappropriate content.

~Confession bear mode

I learned (x)html and css from w3schools… years ago though, in my defense :P Sites like sitepoint aren’t as easy to learn from for beginners.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed