Changed html attributes to css style