![]() |
validation using w3.org help!
hi there folks i need a bit of help validating my site
i started off with over 300 errors and have got it down to 46. the next error i need to deal with relates to my forumhome_forumbit_level1_nopost template, which is Code:
<!-- top --> Quote:
|
Your tags aren't nested properly. You went:
Code:
<table> |
thanks for the reply lynne
i changed the code so the elements were nested correctly and it didnt seem to change anything still stuck on 49 errors could you or anyone else offer any more assistance the forumhome_forumbit_level1_nopost template is now Code:
<!-- top --> |
Actually, you will get an error if that if statement evals to false (just ask Dieselminded - he's got an error just like that on a different page). You should put the if statement outside of the table. The thing is, you can't have:
HTML Code:
<table> HTML Code:
<table> |
Quote:
i'm sorry lynne i dont follow, i've tried a few different methods and i cant seem to get it sorted, could i trouble you to post using the code i've added what you think will get it throught the validation so i can see what i'm doing wrong?? thanks again for your help :) |
I've told you... you need to put the <if> tags outside of the <table> tags or it won't validate.
|
Listen to Lynne she came in to my site and fixed over 600 errors i worked for 3 hours and had more than i started with
|
ok i've moved the if conditionals so the code now looks like
Code:
<!-- top --> thanks again for the quick replay |
It's not the table element at all. It's exactly what the error says - the element isn't allowed there. If you look right before the table, you'll see you closed a row:
HTML Code:
</tr> <!-- / guest welcome message --> |
check SHOWTHREAD to fix above issue
--------- TIPS close all your <images> properly HTML Code:
<img src="/streetrod/misc/cattitle_left.gif" width="35" height="47"> HTML Code:
<img src="/streetrod/misc/cattitle_left.gif" width="35" height="47" /> do not use HTML Code:
background="/streetrod/misc/footer_top.gif" HTML Code:
style="background: transparent url(/streetrod/misc/footer_top.gif) |
Quote:
HTML Code:
<img src="/streetrod/misc/cattitle_left.gif" width="35" height="47" alt="" /> |
thanks for all the help folks thats my forumhome page validated now to start with the others, more than likely i'll be back later to ask a few more questions
|
howdy again...
i've got an error on my memberslist and calendar pages relating to a side column i have which at the end of the footer template i have: Code:
<!-- side column --> Code:
my question is what is the spacer_close and spacer_open for exactly and what effect would it have if i removed the code from them?? thanks for your help so far :) |
Which error(s) are you referring to, I see several when viewing your site.
|
thanks for the quick reply
its for my test site right now i've just removed the spacer_open spacer_close from my memberlist template and its now valid xhtml transitional the test site can be found at www.scottishwheelnuts.co.uk/testvb what does the spacer_open spacer_close actually do any help is appreciated |
Per the License Agreement, you must password protect your test forum.
|
Quote:
anyone?? |
Sorry had to leave last night....
I never really even looked at the spacer templates before but it looks like they set the width and padding of the style between the header and footer based on the values in your StyleVars and also checks if you are running a very old version of IE. Hopefully someone can give you a more definitive answer. HTML Code:
<if condition="$show['old_explorer']"> |
All times are GMT. The time now is 06:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|