ignoring style tags in chart height calculation