vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Interesting realization regarding compliance (https://vborg.vbsupport.ru/showthread.php?t=122864)

Guest210212002 08-02-2006 11:42 PM

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.

DementedMindz 08-02-2006 11:48 PM

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 ;)

Guest210212002 08-03-2006 12:05 AM

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! :D

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>

DementedMindz 08-03-2006 12:07 AM

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/>

Guest210212002 08-03-2006 12:12 AM

Hah, yeah I have to edit all the older ones to include your corrections. :D You've got me on a compliance-rampage now bro. I'm down to 6 errors on my forum link! :D

[high]* Guest210212002 was at 22 an hour ago[/high]

DementedMindz 08-03-2006 12:14 AM

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>
yeah its better for spiders when they spider and its better on page speed there is alot of benefits from it... I made sure my whole site was compliant

you have alot of easy fixes its nothing major at all... your missing alot of alt="" with image closing tags alt="" />

Guest210212002 08-03-2006 12:35 AM

That did it, thanks man! :D Down to 5! :D

Edit: 4!!

[high]* Guest210212002 goes insane
[/high]

Oh man, I'm never going to get to sleep tonight. :D

Edit: 1!! :D

DementedMindz 08-03-2006 12:36 AM

no problem I had the same problem and had to fix mine too..

Guest210212002 08-03-2006 12:44 AM

https://vborg.vbsupport.ru/

Wahoo!!! :D

Thank you very much for the help bro!

DementedMindz 08-03-2006 12:54 AM

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...


All times are GMT. The time now is 09:19 PM.

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.03572 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_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