I've been trying to build some dynamic sub-menus for this template driven
website I manage, but I'm having problems in IE getting the width of a span
tag. The width is not assigned in CSS or inline because I want it to be the
same size as the text that's inside of it. span.offsetWidth seems to get the
width in safari and firefox, but in IE, it's returned 0. span.width get
returned as undefined in both of them. Do I have to set my css width to "auto"
before anything will work in IE or something?