Lea de Groot wrote:
Would you include the submit button in the fieldset by default? I had been assuming that, semantically, it sat outside the fieldset(s).
purely from a technical point of view, if you wanted the submit button outside of the fieldset, you'd have to put another block level element (fieldset seems the best, imho, but even a neutral div would do) around the content of the form to validate as xhtml strict.
<form...> <fieldset> <fieldset> ... </fieldset> <input type="submit" value="List" /> </fieldset> </form>
from a semantic point of view, fieldset groups related form elements together. i don't see why the submit button would not be in relation to the other elements...if anything, the submit button is the one element that relates to everything else in the form, as it's the one element that sends all that stuff out. however, if i had more than one fieldset (e.g. many sub-sections within the form), i would not have the submit as an element of the last fieldset, but outside, and wrap everything in another fieldset as mentioned above, i.e.
<form> <fieldset> <fieldset> ... </fieldset> <fieldset> ... </fieldset> <input type="submit" value="go" /> </fieldset> </form>
hope that makes sense...
-- 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 ******************************************************