1
votes

Trying to select any of the checkboxes in the modal dialog here: http://ezami.com/ - the one that pops up after clicking the top right ribbon. None of them seem to work. Did a little research and testing using z-index but nothing seem to work so far, only z-index being set is the modal value and that seems to be working fine.

2

2 Answers

0
votes

I have this sample ready for the logic that you want to implement. the image/colour can be anything.Demo link

<html>
<head>
    <title>Checkbox</title>
    <style>
  input[type=checkbox] {
    display:none;
  }

  input[type=checkbox] + label
   {
       background: #999;
       height: 16px;
       width: 16px;
       display:inline-block;
       padding: 0 0 0 0px;
   }

   input[type=checkbox]:checked + label
    {
        background: #0080FF;
        height: 16px;
        width: 16px;
        display:inline-block;
        padding: 0 0 0 0px;
    }
    </style>
</head>

<body>

<p>
   <input type='checkbox' name='thing' value='valuable' id="thing"/><label for="thing"></label>

</body>
</html>
0
votes

Try looking at this and see if it helps:

http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-easy-css3-checkboxes-and-radio-buttons/

Try putting the input field in the tag like

<span><input ..... ></input></span>