Fix spacing and padding issues

User set padding was resulting in an excessive amount of space
being generated by the css.
* Perform millipoint to point conversion in the css generator

Change-Id: I8171b04c5e45063475815ec8df2224d91d89aed6