modifying paddings to match W3C style of box model math