Replaced HTML attributes with css styles