vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Im Trying to XHTML Validate my board... (https://vborg.vbsupport.ru/showthread.php?t=76174)

Guy G 02-12-2005 08:42 AM

Im Trying to XHTML Validate my board...
 
Im trying to validate my forum, so far i had 139 errors..
I got them down to 59 errors.
But there are some things that i dont know even how to approach in order to fix them...

I cant fix all of these errors:
http://validator.w3.org/check?uri=ht...tomatically%29

If anyone would be kind enough to have a look an tell me how to fix some ill be happy...(most errors are of the same kind)


Thanks,
www.ex-zone.com

Dean C 02-12-2005 11:06 AM

Half of those errors are due to incorrect nesting. As you're validating your XHTML i'm assuming you know the three golden rules. Nesting should be consistent being one of them. Go through your code and find out where you are not closing tags etc. Then that'll narrow it down so we can help some more :)

Princeton 02-12-2005 12:45 PM

yep, I agree ... and
1. you are using deprecated tags/attributes.
2. image tags are not being closed properly

Guy G 02-12-2005 01:47 PM

Quote:

Originally Posted by Dean C
Half of those errors are due to incorrect nesting. As you're validating your XHTML i'm assuming you know the three golden rules. Nesting should be consistent being one of them. Go through your code and find out where you are not closing tags etc. Then that'll narrow it down so we can help some more

So nesting is the issue.... ill try and see if i can do it. loads of code there.

Quote:

Originally Posted by princeton
yep, I agree ... and
1. you are using deprecated tags/attributes.
2. image tags are not being closed properly

What do u mean deprecated tags \ attr ?

and where is there an error about improper closure of an img tag?

Princeton 02-12-2005 01:53 PM

valign is a deprecated attribute
onClick should be onclick
etc.

<img src="" alt="" title="" /> <-- the proper way to close image when using XHTML
FYI: All tags that do not have a closing end should be closed properly.

Guy G 02-12-2005 02:08 PM

Quote:

Originally Posted by princeton
valign is a deprecated attribute
onClick should be onclick
etc.

<img src="" alt="" title="" /> <-- the proper way to close image when using XHTML
FYI: All tags that do not have a closing end should be closed properly.

The onclick will be fixed.
Whats the replacement for valign?
and all the single tag tags are closed.

sabret00the 02-12-2005 02:22 PM

Quote:

Originally Posted by Guy G
The onclick will be fixed.
Whats the replacement for valign?
and all the single tag tags are closed.

style="vertical-align: top"


:)

Guy G 02-12-2005 02:41 PM

Quote:

Originally Posted by sabret00the
style="vertical-align: top"

Thanks m8 :D

Hmmm valign doesnt seem to affect it to be XHTML valid...

Dean C 02-12-2005 05:07 PM

Sort out those nesting issues Guy! :p lol

Guy G 02-14-2005 08:54 AM

Quote:

Originally Posted by Dean C
Sort out those nesting issues Guy! :p lol

Can't... The skin company did a loousy job on nesting it.
And going through all that code would be crazy...


All times are GMT. The time now is 07:01 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
  • Page Generation 0.01591 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete