Replaced static style attributes with CSS.