Hello,
I've been doing site validation yesterday and I noticed bunch of errors that turned out to originate from ads I've been inserting into it.
Now, I thought that these companies would take a little more care of their users/affiliates, but I thought wrong
Anyways, if anyone is using JuicyAds, like I do, here's a little howto on removing those boring notices.
Original code provided by JA looked like this:
The solution was, of course to insert ' or " around values for <iframe> tag. So, the code now looks like this:
Another issue arises when using their banners - they don't close <img> tag.
Instead of <img blah blah> it should be <img blah blah /> (notice the slash char at the end of tag.
Ok, for all of you guys that already know this, sorry for stating obvious. I just hope someone will benefit from this, and that I gave something back to this place
.
I also found out that hspace and vspace and allowtransparency are also invalid by standard. Sweet.
Cheers!
I've been doing site validation yesterday and I noticed bunch of errors that turned out to originate from ads I've been inserting into it.
Now, I thought that these companies would take a little more care of their users/affiliates, but I thought wrong
Anyways, if anyone is using JuicyAds, like I do, here's a little howto on removing those boring notices.
Original code provided by JA looked like this:
Code:
<!--JuicyAds v2.0-->
<iframe hspace=0 vspace=0 border=0 frameborder=0 marginheight=0 marginwidth=0 width=158 height=142 scrolling=no allowtransparency=true src=http://adserver.juicyads.com/adshow.php?adzone=47346></iframe>
<!--JuicyAds END-->
The solution was, of course to insert ' or " around values for <iframe> tag. So, the code now looks like this:
Code:
<!--JuicyAds v2.0--><iframe hspace='0' vspace='0' border='0' frameborder='0' marginheight='0' marginwidth='0' width='158' height='142' scrolling='no' allowtransparency='true' src='http://adserver.juicyads.com/adshow.php?adzone=47346'></iframe><!--JuicyAds END-->
Another issue arises when using their banners - they don't close <img> tag.
Instead of <img blah blah> it should be <img blah blah /> (notice the slash char at the end of tag.
Ok, for all of you guys that already know this, sorry for stating obvious. I just hope someone will benefit from this, and that I gave something back to this place
I also found out that hspace and vspace and allowtransparency are also invalid by standard. Sweet.
Cheers!
Last edited: