Converting width attributes to style attributes