The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Help me validate my forum
I am getting 95 errors
http://validator.w3.org/check?uri=ht...orum/index.php Tell me where to start, and how EDIT: Got down to 83 errors I can't get it lower EDIT 2: Got down to 67 errors What in gods name is general entity "threadid" not defined and no default entity and reference not terminated by REFC delimiter, like 50 of the errors come from those! I dont even know what that is :P EDIT 3: Down to 25 errors, 32 errors were due to a missing amp; :speechless: EDIT 4: Down to 19 errors, one mine (can't figure it out), and 18 from a tracked I use (eXtremetracking). Also, showthread.php has gotten from 270+ to 20 errors now. Wow. This turned out to be fun :P EDIT 5: Fixed table issue by removing thead EDIT 6: AT LAST! This Page Is Valid XHTML 1.0 Transitional! EDIT 7: How can I make this XHTML compliant? Code:
<a target="_blank" href="http://t.extreme-dm.com/?login=ivtrack"><img src="http://u1.extreme-dm.com/i.gif" height=1 border=0 width=1 alt=""></a><script language="javascript1.2"><!-- EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"? EXb=EXs.colorDepth:EXb=EXs.pixelDepth;//--> </script><script language="javascript"><!-- EXd=document;EXw?"":EXw="na";EXb?"":EXb="na"; EXd.write("<img src=\"http://t0.extreme-dm.com", "/0.gif?tag=ivtrack&j=y&srw="+EXw+"&srb="+EXb+"&", "l="+escape(EXd.referrer)+"\" height=1 width=1>");//--> </script><noscript><img height=1 width=1 alt="" src="http://t0.extreme-dm.com/0.gif?tag=ivtrack&j=n"></noscript> On a side note, what does amp; do? Does it break anything? I am adding amp; everywhere the validator tells me to. Will it break the forum links? Altho so far it works, I am afraid of doing what I do. |
#2
|
||||
|
||||
I clicked your link, and bring the following fixes for validation errors:
HTH //out |
#3
|
||||
|
||||
Sorry for the noobish question, but what are 'advantages' (if any) of being XHTML 1.0 compliant ?
|
#4
|
|||
|
|||
all of your errors are very easy to fix..
for example: Quote:
HTML Code:
...ttp://u1.extreme-dm.com/i.gif" height="1" border="0" width="1" alt=""> The java script error is fixed by the <script type="text/javascript"> and the J errors are caused becasue of a wrong use of the &. all & should be in a code, like so: & and for the img erros you are missing the closing tag, all img tags should be like so: <img src="" alt"" ..... /> Thats about all of your errors... 5 min and u are done. Quote:
|
#5
|
||||
|
||||
Put javascript in an external file ,the w3c validator doesn't like it
|
#6
|
||||
|
||||
Quote:
I guess I will make it an external file :P EDIT: Stole a modified tracker code from another site and now it validates :P |
#7
|
||||
|
||||
Quote:
Quote:
Writing standards compliant code, even more so XHTML 1.0 (or 1.1 if you're feeling tough) shows that you have taken the time to write code that will render 100 % in all browsers, which again shows that you care for your users. //out |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|