Remove px from attributes