Valid Paypal Buttons

So if you've attempted to make a PayPal button based on the data from PayPal you have something like this.

Now if you attempted to validate this for XHTML 1.0 you'd get this message:

So, what's the solution?

A very simple one here:

Simply change all the & symbols to "&" like this:

Now, when you try to validate you code you'll get this(as long as you remember to reference the correct doctype)


Comments

Michele
3/3/2005 12:54:44 PM I`m still having problems validating, but I`m getting the error that <input> tags cannot be used inside <form> tags. Any idea how to get around this?

Yay Paypal.

Thanks! Michele
Joe Maddalone
3/3/2005 2:29:08 PM Try adding a " /" at the end of youre input tag(s) <input type="text" name="x" value="x" />
Becky
3/7/2005 9:03:57 AM Thank you! This finally helped my page validate. I appreciate it!

Comments Disabled For Now

 

 







LATEST POSTS

Viewstate bad developer, bad. Animation != Application Frame-based illiteration engulfs world. Developers worldwide cry. Handy ASP.NET Routines Bullshit Talks But money wont shut the hell up. PostBackUrl Equals Change the Friggin' Form Action .

ADS

MOST POPULAR

Multiple IEs in Windows Firefox Vs. The World Who Is Xperya? ActionScript Form Fields Quick Watermark IE 7 beta 2 standalone

IP Address Tool Chicago Web Design Free Text Messaging