By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,203 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Need some help with validating - I'm going nuts!

P: 3
The page in question is:

http://www.mnsphoto.com/test/00-cook...ster_page.html

The page validated with no errors prior to placing the Amazon.com advertising block. After much fighting with the Amazon code, I have the problem reduced to 4 errors, all of the same type: the validator says that there are four 'extra' </iframe> statements, one for each version of the Amazon code included in the javascripting.

If I remove all of the </iframe> statements, the errors go away, but the page display is interrupted after the Amazon ad is displayed and no more is displayed.

If I leave at least one of the </iframe> statements, I get a validation error for each one left in.

Can anybody help?
Feb 14 '07 #1
Share this Question
Share on Google+
3 Replies


drhowarddrfine
Expert 5K+
P: 7,435
You need to read this.
Feb 14 '07 #2

P: 3
You need to read this.
Thanks, but I did read it. I even tried to put the backslash <\/iframe>. It eliminated the validation error, but the page did not load, it stopped after the Amazon block, same as when I eliminated the </iframe>
Feb 14 '07 #3

P: 3
Thanks, but I did read it. I even tried to put the backslash <\/iframe>. It eliminated the validation error, but the page did not load, it stopped after the Amazon block, same as when I eliminated the </iframe>
CASE CLOSED!

I changed the </iframe> to <qcqcqc> which passed the W3 Validator. On the DOCUMENT.WRITE statement I used the REPLACE option and changed the "qcqcqc" to /iframe. The page loaded without problems!
Feb 14 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.