title: Aligning checkbox to center of td styling only checkbox?
body: <p>I have a table that has particular rows containing checkboxes. I want to have these checkboxes aligned to center of their parent td's.
  I know that I can achieve that by styling the parent td like that:</p>
  
  <pre><code>td {
      text-align: center;
  }
  </code></pre>
  
  <p>I also know that I can easily achieve that with jQuery, but unfortunately, I cannot use jQuery.</p>
  
  <p>The table is created through .NET and I cannot target the specific columns that contain checkboxes by giving a certain class.</p>
  
  <p>I wonder if there is a way of styling the checkbox itself in order to align it to the center of it's parent td.</p>
  
  <p>Something like:</p>
  
  <pre><code>input[type=checkbox] {
      margin: auto;
  }
  </code></pre>