homepage Welcome to WebmasterWorld Guest from 107.20.25.215
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
How to make this xhtml1.0 transitional?
PowerUp




msg:3729486
 4:42 pm on Aug 23, 2008 (gmt 0)

My DTD is XHTML 1.0 Transitional

My page is not validating because of this amazon affiliate product code. How to go around this?

<iframe src="http://rcm.amazon.com/e/cm?t=myaffiliatecode&o=1&p=8&l=as1&asins=B000VPKFQI&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"
</iframe>

 

surrealillusions




msg:3729510
 5:17 pm on Aug 23, 2008 (gmt 0)

You'll need to convert all the & to &amp;

Run your page through the W3C validator and follow what it says, it will give you guidelines on whats wrong.

:)

PowerUp




msg:3729728
 2:01 am on Aug 24, 2008 (gmt 0)

You'll need to convert all the & to &amp;

If I change this, will my affiliate code still work? Can Amazon deny commission or terminate my membership for changing the code?

Marshall




msg:3729799
 4:32 am on Aug 24, 2008 (gmt 0)

If I change this, will my affiliate code still work?

No. The changes will take you to a default Amazon page (Try it yourself). This is one of those exceptions to the rule as in this case, the & is not used in the sense of Black & White, but as a link. If you want to validate your page, remove the link information, validate the page, then put the link back in.

Marshall

mipr




msg:3730612
 4:38 pm on Aug 25, 2008 (gmt 0)

&amp;s in URLs should work fine, as all you are doing is encoding the ampersand character in the HTML, it is not actually changing the text of the link as it is seen by a web server.

I can't see how that would affect the affiliate code at all.

Also, what is the point of removing things from a page to validate it, and then putting them back in? :S

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved