WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: labeling search box

for

From: julian.rickards
Date: Jul 10, 2003 10:14AM


> However, I've found that doing this make the words in the
> label tag appear
> on the page. For example, using the code above, "Search The
> Site" appears
> before the textbox).

What about ...

label.submit {color: transparent}

<label class="submit">This text is transparent to the
background</label><input type="submit">


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/