1) wrap the input inside 'label' is bad practice - so I have not done that for years.
2) learned that 'button' is better over the 'input' for submit
3) Will wrapping button inside 'label' is: a) OK - no ill effect whatsoever; b) very good; c) bad- never do that.

example 1:
    <fieldset>
    <legend><span>Search Site</span></legend>
   <input id="search" type="text" name="q" value="" />
      <label for="search">
         <button id="searchbtn">Search</button>
        </label>
     </fieldset>

example: 2 (give a label empty tag)
    <fieldset>
    <legend><span>Search Site</span></legend>
   <label for="search"> </label>
   <input id="search" type="text" name="q" value="" />
   <button id="searchbtn">Search</button>
        </fieldset>


tee





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to