moved obsolete inline attributes to css for validation