Wayne Godfrey wrote:
 what would be considered the most semantically
correct way of doing it.

The "most correct way" (tm):

<form action="..." method="...">
    <fieldset>
        <legend>Search Club Listings</legend>
        <label for="name">Name of club</label>
        <input type="text" name="name" id="name" />
        <label for="state">State</label>
        <select name="state" id="state">
            <option value="...">...</option
        </select>
        <input type="submit" value="List" />
    </fieldset>
</form>

and have a something like

label,input,select { display: block; }

so that each label and input is on a new line.

The reason for people wanting to use tables, definition lists, or similar constructs for forms stems purely from their desire to style it a certain way...but the above is the bare minimum, cleanest way, imho.
--
Patrick H. Lauke
_____________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to