View Single Post
Old 06-11-2009, 08:17 AM   #2 (permalink)
WebDesignTuts
Registered User
 
Join Date: Jun 2009
Location: Ireland
Posts: 12
OS: Vista HP SP1

My System

Re: Fieldset or Span?

The span tag won't actually do anything visually to the page unless you add styles to it - it's just like a DIV.

Fieldset would generally be used. Is this something like what you want?

Code:
<form>
     <fieldset>
          <legend>Name</legend>
	  <input type="text" name="first" id="first" value="" maxlength=""/> 
	  <label for="first">First</label>
	  <input type="text" name="last" id="last" value="" maxlength=""/>
	  <label for="last">Last</label>
      </fieldset>
</form>
__________________
Kieran C
WebDesignTuts is offline   Reply With Quote