Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-23-2009, 09:35 AM   PM User | #1
ksanjanadevi
New Coder

 
Join Date: Oct 2008
Location: India, Banglore
Posts: 50
Thanks: 1
Thanked 0 Times in 0 Posts
ksanjanadevi is an unknown quantity at this point
Question why do I get different validated output in w3c validator?

Here is my link
http : // 173 dot 45 dot 229 dot 122 / phpBB3 / (without spaces)

I give this url and check for validation I get sum 41 errors. - This is one way
I do View Source and check for validation I get 103 errors - This is another way

Why do I get different results like this? Am using a PHPBB3 thats a CMS kind application where 80% would be driven by default phpbb3 itself 20% is my work....

what to do for this kind of site???? am depressed

Any solutions?
ksanjanadevi is offline   Reply With Quote
Old 11-23-2009, 10:05 AM   PM User | #2
Arbitrator
Senior Coder

 
Arbitrator's Avatar
 
Join Date: Mar 2006
Location: Splendora, Texas, United States of America
Posts: 2,902
Thanks: 5
Thanked 188 Times in 185 Posts
Arbitrator is on a distinguished road
Quote:
Originally Posted by ksanjanadevi View Post
I give this url and check for validation I get sum 41 errors. - This is one way
I do View Source and check for validation I get 103 errors - This is another way
You're probably using two different validators. They'll vary in quality and some will catch errors that technically aren't validation (via a DTD) errors, but still errors according to the spec nevertheless. Plus, be sure not to confuse warnings with errors.

Quote:
Originally Posted by ksanjanadevi View Post
what to do for this kind of site???? am depressed
You either need to write your own bulletin board from the ground up, find one that does validate, or live with the errors. Unfortunately, you'll find that a lot of prepackaged software is written using broken code. Forum software, in particular, all seems to use tables for layout.
__________________
Please for the love of god stop making IE. You current "browser"s cause me to cry every day. —Phil *
Arbitrator is online now   Reply With Quote
Old 11-23-2009, 01:51 PM   PM User | #3
clnm
New to the CF scene

 
Join Date: Sep 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
clnm is an unknown quantity at this point
The following forums should validate and have no tables ::

Simple Machines Forum
http://www.simplemachines.org/

Vanilla
http://vanillaforums.org/

PunBB
http://punbb.informer.com/
clnm is offline   Reply With Quote
Old 11-23-2009, 03:38 PM   PM User | #4
MattF
Senior Coder

 
Join Date: Jul 2009
Location: South Yorkshire, England
Posts: 2,322
Thanks: 6
Thanked 304 Times in 303 Posts
MattF will become famous soon enoughMattF will become famous soon enough
Quote:
Originally Posted by Arbitrator View Post
Unfortunately, you'll find that a lot of prepackaged software is written using broken code. Forum software, in particular, all seems to use tables for layout.
The use of tables doesn't infer broken/invalid code however.
MattF is offline   Reply With Quote
Old 11-24-2009, 06:19 AM   PM User | #5
Arbitrator
Senior Coder

 
Arbitrator's Avatar
 
Join Date: Mar 2006
Location: Splendora, Texas, United States of America
Posts: 2,902
Thanks: 5
Thanked 188 Times in 185 Posts
Arbitrator is on a distinguished road
Quote:
Originally Posted by clnm View Post
Interesting. I went to all of these sites. The "Community" tab of the first leads to an invalid, table-based forum. The "Community" tab of the second leads to a tableless forum, but the code is still invalid. The last one is the only one that I could get to pass validation and was also tableless.

Quote:
Originally Posted by MattF View Post
The use of tables doesn't infer broken/invalid code however.
Right that it doesn't necessarily infer invalid code; I probably should have mentioned that. I don't think I've ever seen one that was either valid or semantically accurate though.
__________________
Please for the love of god stop making IE. You current "browser"s cause me to cry every day. —Phil *
Arbitrator is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:45 PM.


Advertisement
Log in to turn off these ads.