Note that there are some explanatory texts on larger screens.

plurals
  1. POcheckboxes tiny and unclickable in chrome
    text
    copied!<p>For some reason the check-boxes on this form are not clickable and are very, very, tiny using google chrome. When using firefox the checkboxes work great. I'm not exactly sure what to look for... It's really strange!!! Is there something wrong with the way I'm using <code>&lt;form&gt;</code>? When I use inspector even if I disable all css the checkboxes are still tiny. not sure what is going on. reset browser cache etc. really could use some help.</p> <p><strong>HTML:</strong> <a href="http://pastebin.com/Pt6YgGP7" rel="nofollow noreferrer">http://pastebin.com/Pt6YgGP7</a>:</p> <p><strong>CSS:</strong> <a href="http://pastebin.com/WHap5Vmh" rel="nofollow noreferrer">http://pastebin.com/WHap5Vmh</a></p> <p><strong>Screenshot:</strong> </p> <p><img src="https://i.stack.imgur.com/hXIBy.png" alt="Tiny checkboxes"></p> <pre><code> &lt;div class="categories"&gt; &lt;button class="tyl_category" id="category1"&gt;Category1&lt;/button&gt; &lt;/div&gt; &lt;form name ="things-you-like-form" class="sub-categories" action="things-you-like"&gt; &lt;div class="control-group"&gt; &lt;div class="controls category" id="form-category1"&gt; Select from Category 1 &lt;input type="checkbox" name="tyl_picked1" value="c1s1"&gt; &lt;label for "category1-subcategory1"&gt;1.1&lt;/label&gt; &lt;input type="checkbox" name="tyl_picked1" value="c12"&gt; &lt;label for "category1-subcategory2"&gt;1.2&lt;/label&gt; &lt;input type="checkbox" name="tyl_picked1" value="c1s3"&gt; &lt;label for "category1-subcategory3"&gt;1.3&lt;/label&gt; &lt;input type="checkbox" name="tyl_picked1" value="c1s4"&gt; &lt;label for "category1-subcategory4"&gt;1.1&lt;/label&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- end for-each sub-categores --&gt; &lt;/form&gt; &lt;/div&gt; </code></pre> <p>JS</p> <pre><code>&lt;script&gt; $(document).ready(function() { $('form').each(function() { this.reset() }); var progress = 0; $categories = $('.categories'); $sub_categories = $('.sub-categories'); $(document).on('click','.tyl_category', function(e) { $form = $('#form-'+this.id); console.log(this.id); $categories.hide('slide', { direction: 'left' }, 250, function() { $sub_categories.show(); $form.show('slide', { direction: 'right' },250); }); }); $(document).on('click','input[type="checkbox"]', function (e) { var $this = $(this); var $progress_bar = $('#tyl_progress_bar'); if ($this.is(':checked')) { progress +=1; } else { progress -=1; } $progress_bar.text('Step '+progress+'/5'); $progress_bar.css({width: (progress*25)+"%"}); $form = $this.parent('div'); $form.hide('slide', { direction: 'left' }, 250, function() { $sub_categories.show(); $categories.show('slide', { direction: 'right' },250); }); }); }); &lt;/script&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload