Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    422
    Thanks
    8
    Thanked 6 Times in 6 Posts

    PLease help me understand the VALIDATOR results

    I understand the first one about the form, but the others seem to be errors with my closing tags.

    www.vciparts.com

    I did find the missing </ul> tag, and fixed it, but it still looks like it's not quite making it.

    Thanks in advance.
    ~ Mo

    NOTE: my cade is modular, so the best way to view it all assembled is just to view the source.
    Last edited by mOrloff; 05-12-2009 at 11:47 PM. Reason: Oops! Now includes the link.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,637
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    I suppose you forgot to attach your link?

  • #3
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    422
    Thanks
    8
    Thanked 6 Times in 6 Posts
    Yup!

    I caught that just after I hit the button.
    The post has been edited.

    Thanks again.

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,637
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    OK, the first three errors are pretty simple:
    1. The name attribute is not allowed except on form controls (i. e. inputs and textareas). You should give the form an ID and address it in JavaScript with forms['YourIDhere']
    2. Input elements must not be direct children of a form. You have to put them in another block level elements such as a fieldset (which you can hide with CSS if necessary) or a div or whatever.


    Then you have a list with missing closing tag (ul “primaryNav” inside the div “mainNav”). The rest is gonna be fixed automatically if you close that list.

  • #5
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    422
    Thanks
    8
    Thanked 6 Times in 6 Posts
    Thanks for the fieldset suggestion. I didn't find instructions for that anywhere (even w3scools examples the input as a child of form), but that definitely took care of it.

    As for the the missing </ul> tag, I'm going to have to post in the PHP group or something.
    My constant is defined with the closing tag, but it's just getting dropped for some reason.

    Once again, thanks-a-bunch.
    ~ Mo
    Last edited by mOrloff; 05-13-2009 at 01:26 AM. Reason: type-o


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •