css sub-selecting select 1

Placing select second in a sub-selection has no 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 input,select,a {
    margin: 0;
  }