Replaced html 'style' attributes with css