Changes HtmlWriter#writeGridCss to write out the other units temporarily so that mixed usage of different units doesn't confuse the system.