Once you have edited the template, click submit to get your code.
You need to paste your code into the DESCRIPTION field as you create your listing. The HTML view.
A note on WHITESPACE - sometimes the eBay HTML editor adds in lots of whitespace. This can create weird spaces. You can remove html whitespace using tools on the web.