As long as it in div element, it will fine to add the CSS. Click the following links to learn more:
Add CSS elements into XSLT
http://lib.lazacode.org/?p=1149