You have a style="" attribute in the image itself. That is going to override anything set up by the class. Remove the style from the image and get all of the style attributes set from the class and it should work.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.