Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2006, 12:42 AM
Guest210212002
Guest
 
Posts: n/a
Default 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.
Reply With Quote
  #2  
Old 08-03-2006, 12:48 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 08-03-2006, 01:05 AM
Guest210212002
Guest
 
Posts: n/a
Default

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>
Reply With Quote
  #4  
Old 08-03-2006, 01:07 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/>
Reply With Quote
  #5  
Old 08-03-2006, 01:12 AM
Guest210212002
Guest
 
Posts: n/a
Default

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]
Reply With Quote
  #6  
Old 08-03-2006, 01:14 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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="" />
Reply With Quote
  #7  
Old 08-03-2006, 01:35 AM
Guest210212002
Guest
 
Posts: n/a
Default

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!!
Reply With Quote
  #8  
Old 08-03-2006, 01:36 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem I had the same problem and had to fix mine too..
Reply With Quote
  #9  
Old 08-03-2006, 01:44 AM
Guest210212002
Guest
 
Posts: n/a
Default



Wahoo!!!

Thank you very much for the help bro!
Reply With Quote
  #10  
Old 08-03-2006, 01:54 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply


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. The time now is 06:47 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.04448 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete