What version of Dreamweaver are you using?
What is your OS?
can you send a copy of the page you have added the add to cart button to so i can examine the code in context. You can compress the original file to a zip archive and attach the zip to your response.