Setting Fonts In IE6

24th June 2003 · Last updated: 5th October 2016

Today on Eric Meyer's CSS site he wrote: "The flaws in IE6 continue to amaze me, and now we're stuck with it for another three years, minimum. Great, just great". He'd written a page that fell foul of a bug in the browser caused by setting fonts in the unit 'em'. IE6 then makes them extremely small or extremely large as you change the Text Size from its menu. Luckily he's found an easy solution and has made a testcase to show the problem in action.