css sub-selecting select 2

Placing select first in a sub-selection has global effect

by andy peterson

HTML

<input type='text'>
<hr>
<table class="mytable">
  <tbody>
    <tr><td><input type='text'></td></tr>
    <tr><td><input type='text'></td></tr>
    <tr><td><input type='text'></td></tr>
  </tbody>
</table>

CSS

input {
  margin: 0 0 2em;
  }
  
table.mytable select,input,a {
    margin: 0;
  }