Forum Moderators: phranque
When I tested my template before it went live, without ads, it was XHTML strict. Ever since I added the Advertisements, that went out the window.
If you check that page, you can see that the majority of the problems lie within the Ads.. phpAdsNew doesn't spit out W3C Valid HTML, leaving me with this problem.
Has anyone else had this problem? Can it be fixed? Any help would be appreciated, thanks!
[edited by: trillianjedi at 10:42 am (utc) on May 16, 2005]
[edit reason] No URL drops please as per TOS [/edit]
At a guess, you will have at least two issues: unencoded ampersands in URLs - which can be fixed by replacing
& with & (but only if you have control over those URLs), and the frequent use of target="_blank" so as to open the target URL in a new window. The latter issue won't validate in XHTML 1.0 Strict but it will do so with XHTML 1.0 Transitional. If you have third-party markup injected in to a page, it is difficult to assure validation. Neither of the above problems are major, however, and you may well have to compromise absolute validity in order to keep the ads.