jeudi 22 décembre 2016

Position input checkboxes next to each other

I am trying to create a list of 3 checkboxes and next to two of the checkboxes, I want a small checkbox to hide the specific property.

enter image description here

I just have a problem of position the checkboxes properly.

I guess it should be something like

<ul>
  <li>
    <label>
      <input type="checkbox">
      Property 1
      (
        <label>
          <input type="checkbox">
          Hide
        </label>
      )
    </label>
  </li>
  (...)
</ul>

but maybe it is not good to place the hide checkbox inside the other checkbox-label, so maybe I should create a table, so the two checkboxes can be aligned next to each other.




Aucun commentaire:

Enregistrer un commentaire