Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5

Thread: Validating HTML

  1. #1
    Senior Member bluntknife's Avatar
    Join Date
    Jan 2003
    Location
    Bucks UK
    Posts
    288
    Member #
    451
    Hey

    I'm having problems getting my main forum page to validate - I'm guessing i'm missing a table element somewhere or something, but everytime I think I find it, it just moves the error to another area.

    Can any of you see where the problem lies? It's really starting to bug me now!

    http://validator.w3.org/check?uri=ht...ose=1#line-636

    Many thanks, as always. Hopefully this doesn't break Filburt's rule, as, well, you can't get anything from this that you can't get from 'viewing the source' on any other vBulletin site.

    Ollie
    Hardly the sharpest thing in the drawer.
    Design | Life | Outdoors | Ryukin Radio

  2.  

  3. #2
    Member Spiral's Avatar
    Join Date
    Jul 2004
    Location
    Vancouver, BC
    Posts
    50
    Member #
    6612
    Is there a reason for having 2 tables like this:

    Code:
     633: <!-- main -->
     634: <table cellpadding="6" cellspacing="1" class="tborder" border="0" width="100%" align="center">
     635: </table><br />
     636: <table cellpadding="6" cellspacing="1" class="tborder" border="0" width="100%" align="center">
     637: <tbody>
     638: 	<tr>
    It seems to be 2 of the same table? I'm no XHTML master, but there seems to be a table with absolutely no content, followed by the identical table with content?
    spiral.alchemy
    graphic and web design portfolio

  4. #3
    Senior Member bluntknife's Avatar
    Join Date
    Jan 2003
    Location
    Bucks UK
    Posts
    288
    Member #
    451
    There is a reason for that, because of the way vB works I have to do something like this:

    <open table>
    <!-- Repeated for every category -->
    <close table>
    <open table>
    <!-- Forums listed here -->
    <!-- End of repeat
    <close leftover table>

    Does that make sense? :S Basically, yes, there is a reason for it.

    Thanks

    Ollie
    Hardly the sharpest thing in the drawer.
    Design | Life | Outdoors | Ryukin Radio

  5. #4
    Senior Member
    Join Date
    Aug 2003
    Posts
    444
    Member #
    2801
    Well you have a table without any rows. Add in a <tr><td></td></tr> to see if that helps.

    IIRC, a table tag cannot be empty for it to be valid.
    eKstreme
    eKstreme.com - Free website tools!
    fontfox - free fonts Hand-picked quality fonts.

  6. #5
    Senior Member bluntknife's Avatar
    Join Date
    Jan 2003
    Location
    Bucks UK
    Posts
    288
    Member #
    451
    Genius

    Thanks very much

    Ollie
    Hardly the sharpest thing in the drawer.
    Design | Life | Outdoors | Ryukin Radio


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:08 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com