Do you have a live url where I can see it in action? I don't see the problem offhand, but if I had a working page to look at I'd have more to go on.
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.