The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Interesting realization regarding compliance
I recently went through all of my templates and custom code and swapped out every instance of <br> with <br />, so that it's a closed function. What I didn't realize until today after passing my site through W3's validator a few times was that img tags need the same treatment.
For example: <img src="blah.gif" alt="woohoo"> = Non-compliant <img src="blah.git" alt="woohoo" /> = compliant After wondering what the heck it was barking at for so long, I finally realized what it was. Just thought I'd pass it on. /me is down to under 10 errors on his forum page, and is actually excited about it. |
#2
|
|||
|
|||
lol im big on that stuff i keep all my templates Valid XHTML 1.0 Transitional makes the pages load faster too..
hehehe <img src="blah.git" /> = compliant is not compliant also this would be <img src="blah.git" alt="" /> = compliant |
#3
|
|||
|
|||
I'm getting a lot more into it lately. I'm down to 7 errors on my forums page (http://www.sevenstring.org/forums/index.php) and around 20 on my portal. It's maddening, I tell you!
Edit: alt="Chris is senile" While I'm at it, what would the correct way to format this be? Code:
<tr><td height="20" colspan="6" background="http://www.sevenstring.org/forum/images/gradient_thead.gif"></td><td><img src="http://www.sevenstring.org/forum/images/clear.gif" alt="" /></td></tr> |
#4
|
|||
|
|||
yeah it is it takes time but once you get it you will do your best to keep it that way lol... what did my post make you wonder about it?
your portal page is easy to fix do like i said in my post on your nav add a <tr> before and at the very end add a <tr/> |
#5
|
|||
|
|||
Hah, yeah I have to edit all the older ones to include your corrections. You've got me on a compliance-rampage now bro. I'm down to 6 errors on my forum link!
[high]* Guest210212002 was at 22 an hour ago[/high] |
#6
|
|||
|
|||
try this usually i do mine different but you dont have yours in a misc directory so try this
Code:
<tr><td height="20" colspan="6" style="background-image:url(/forum/images/gradient_thead.gif)"></td><td><img src="/forum/images/clear.gif" alt="" /></td></tr> you have alot of easy fixes its nothing major at all... your missing alot of alt="" with image closing tags alt="" /> |
#7
|
|||
|
|||
That did it, thanks man! Down to 5!
Edit: 4!! [high]* Guest210212002 goes insane [/high] Oh man, I'm never going to get to sleep tonight. Edit: 1!! |
#8
|
|||
|
|||
no problem I had the same problem and had to fix mine too..
|
#9
|
|||
|
|||
Wahoo!!! Thank you very much for the help bro! |
#10
|
|||
|
|||
LOL no problem now its time to do your portal page and go through other pages.. Do it for your whole site as it only helps...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|