Remove the 'height' attribute rather than empty it.