There where as Patrick and others wrote 2 problems. The missing closing tag and the hidden fields should be wrapped in an block element. In this case <p> tags as moving the hidden field into the field set made the <legend> tag stretch across the field set. Problem solved and a lesson learned.
Thank you all. Kim
Patrick Lauke wrote:
You need to move <input type="hidden" name="submitted" value="1"> inside a block level element (in your case, move it into the fieldset which immediately follows it). Also, as it's an empty element, you need to make it self-closing <input type="hidden" name="submitted" value="1" />
Patrick
riders.dk/kontakt.php%3Fsubmitted%3D1%26afsnavn%3D%26afsemail%3D%> 26afstelefon%3D%26afskommentar%3D-----Original Message----- From: Kim Kruse [mailto:[EMAIL PROTECTED] Sent: 04 October 2004 16:54 To: [EMAIL PROTECTED] Subject: [WSG] Why wont this validate
Hi,
I'm doing server side validating on a form and I get some errors I'm not able to decrypt.
So if someone have the time to take a look here http://validator.w3.org/check?verbose=1&uri=http%3A//www.mouse
and please tell me what the errors means. I don t understand why a hidden field should be wrapped in <p> tags for instance?
Please be patient... I'm learning :o)
Kim
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************