I'm not sure how much coding help I can be, but let me ask... what browser are you using that is displaying the formatting improperly?
If you need any help with test viewing, I have Firefox 2, Firefox 3, IE 6 and IE 7 that I can use to view. It may actually look different in different browsers which adds to new code fun...
Your WordPress template may need a "class" added to the CSS to alter the display of the output from new plugin. Codehead on the forum (Tess' husband) seems to be a master of Php and CSS so maybe he can help with any actual code suggestions. I beg my husband for code help and I think my tokens are used up with a new site I've been working on (also CMS)
Let me know if you'd like any viewing feedback, I'm happy to help if I can!