Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wheezy

macrumors 65816
Original poster
Apr 7, 2005
1,280
1
Alpine, UT
I'm redesigning my website (again, it's a quarterly hobby for me) and I'm tying to be very very good at making my sites validate lately. I have pixelpost installed and have been keeping a photoblog for a few years now.

This time, I decided to add a 'share to facebook' link to my blog. Guess what? The link from Facebook doesn't validate! That is a big grrrrr for me! So far I've fixed part of it by creating an external .js file for the script, but now I have to worry about the bad code inside the <a> tag itself.

My blog

Any help on how to reformat the link would be appreciated, but this is more or less just a grr post about major web 2.0 websites and their dirty code!
 
Wow, I actually got it to work, had to change some of the code and call on an external .js but it appears the functionality stays, and the validation clears!

Still... it should never have been invalid in the first place. :confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.