Glad it helped :o) The idea for the <span> around the legend and <div> around the fieldset initially came from http://www.tyssendesign.com.au/articles/css/legends-of-style/
This then gave me the idea of including a <span> around the actual label text as it then provides extra flexibility for styling the form. It won't always be necessary but is certainly useful if the label and input can't be styled as you require without the extra markup. Cheers Dave On 26/09/2007, Tom Livingston <[EMAIL PROTECTED]> wrote: > Dave, > > Thanks a lot for this. It's really simple and I don't mind the "extra" > span element. So simple in fact, I threw up in my mouth a little from > my own embarrassment. :-P > > THANKS! > > And thanks to the others for the replies. I will hang on to these in > case a situation arises where one method is needed over another. > > > > http://www.dave-woods.co.uk/wp-content/uploads/2007/09/accessible-forms1.html > > > > > > > > -- > > Tom Livingston | Senior Interactive Developer | Media Logic | > ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
