Do not write height into style attribute if no height is defined.