change from attribute to css value.