It wraps fine for me when I drop that fragment into an HTML page. There must be something else applying styles to the element. I suggest loading the page into Chrome (or Forefox with Firebug) and open the dev tools to inspect the computed CSS that is applied to the element.
P.S. Applying lots of styles with the style attribute is not recommended.
You should be applying those styles though a stylesheet.