Hide specific input field in CSS by name

Just learned that this trick works in browsers too (not just assert_select and jQuery).

<input id="q" class="small" name="q" size="20" type="text" accesskey="f" />
input[name=q] {display: none;}

2 comments

Comments are closed.