title: Multi-Select Dropdown: Custom Checkbox
body: <p>I'm at the end of my rope. I am working on a project that has several multi-select dropdowns, which are intended to be checked off in order to filter results. I am trying to get the check-boxes to be a customized one given to me as a png, and no matter what I try, nothing works. It's frustrating because for a single-select dropdown menu, it seems to work very easily.</p>
  
  <p>I've tried many different plugins, and they all do pretty much the same thing, which is seemingly override any attempt to replace the default, OS-provided checkbox. here are a few examples of plugins I've tried:</p>
  
  <p><a href="http://wenzhixin.net.cn/p/multiple-select/docs/" rel="nofollow">multiple select</a> <br />
  <a href="http://asimishaq.com/resources/tools/multi-select-dropdown-list/" rel="nofollow">multi-select dropdown list</a> <br />
  <a href="http://davidstutz.github.io/bootstrap-multiselect/" rel="nofollow">bootstrap multiselect</a></p>
  
  <p>For a single-select menu, the following worked fine:</p>
  
  <pre><code>input[type="checkbox"] {
      display:none;
  }
  
  input[type="checkbox"] + label span {
      display:inline-block;
      width:6px;
      height:6px;
      margin:-1px 4px 0 0;
      vertical-align:middle;
      background:url('../images/check_radio_sheet.png') left top no-repeat;
      cursor:pointer;
      margin-right:12px;
  }
  
  input[type="checkbox"]:checked + label span {
      background:url('../images/check_radio_sheet.png') -10px top no-repeat;
  }
  </code></pre>
  
  <p>Depending upon how the different plugins layout the elements to create the dropdown menu, I've adjusted the CSS selectors. I can definitely move the checkboxes around, hide them, etc. so I know I'm using the correct CSS rules. I just can't make them use the tiny sprite sheet.</p>
  
  <p>I've looked everywhere for hours, and can't come up with anything. Something this small being this difficult to figure out is really killing my confidence, because I've been at it for more hours than I'd like to admit. Anyone who can help will be a saint forever in my eyes!</p>