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 Array
    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 Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 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 Array
    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 Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    use the javascript invocation. you can validate a simple <script type...>

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

  6. #6
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    happy to be of service

Similar Threads

  1. Website validation
    By soletrader in forum General Discussion
    Replies: 8
    Last Post: 08-25-2006, 02: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
  •