I'm getting an error message when I try to validate this page: 
http://v4.csatravelprotection.com/csa/packinglist.do

>From the W3C validation service:

Line 514, column 40: there is no attribute "onClick"
<p id="photobutton"><a href="#" onClick="window.print();return false">Click here...



Here is the offending code:
<p id="photobutton"><a href="#" onClick="window.print();return false">Click here to 
print this page</a></p>

Why wouldn't this validate?  I looked into the O'Reilly html&xhtml guide and it 
doesn't say anything about it being deprecated. Does anyone have a suggestion?

I've got the page set to xhtml 1.0 transitional

Thanks
Ted
******************************************************
The discussion list for  http://webstandardsgroup.org/

Proud presenters of Web Essentials 04 http://we04.com/
 Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to