Change the way that the style properties are being set.