Results 1 to 6 of 6

Validation Help

This is a discussion on Validation Help within the Template Modifications forums, part of the vBulletin SEO Discussion category; I cannot seem to get past the form element validation error as seen here. http://validator.w3.org/check?uri=ht...pe=Inline&ss=1 Anyone know what's up?...

  1. #1
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times

    Validation Help

    I cannot seem to get past the form element validation error as seen here.
    http://validator.w3.org/check?uri=ht...pe=Inline&ss=1

    Anyone know what's up?

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    <span class="smallfont"> is killing it. span is an inline element and cannot take a block-level element, such as form, inside it.

    put the span around the text ONLY, not the whole group.

    ie:

    <form ...>
    <span class="smallfont">Name:</span><input type.... />
    </form>

  3. #3
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times
    Ah excellent, that did the trick. Now if I could just figure out how to close the <img with phpadsnew. :sigh:

    Thanks!

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    use the javascript invocation. you can validate a simple <script type...>

  5. #5
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times
    Yup, that did it.

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    happy to be of service

Similar Threads

  1. Website validation
    By soletrader in forum General Discussion
    Replies: 8
    Last Post: 08-25-2006, 03:36 AM

Posting Permissions

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