I have this search box widget which has the above issue. This is the code: <form id="searchthis" action="/search" style="DISPLAY: inline" method="get"><input id="search-box" name="q" size="24" /> <input id="search-btn" value="Search" type="submit" /></form> HTML:
You have to actually add the labels by either of the following methods <form id="searchthis" action="/search" style="DISPLAY: inline" method="get"> <label for='search-box'>Search</label><input id="search-box" name="q" size="24" /> <input id="search-btn" value="Search" type="submit" /></form> HTML: <form id="searchthis" action="/search" style="DISPLAY: inline" method="get"> <label>Search<input id="search-box" name="q" size="24" /></label> <input id="search-btn" value="Search" type="submit" /></form> HTML:
I pasted the code just before the </body> tag and it works. Is it the correct place to set the code? Thank you so much for your prompt reply. It