Use a hidden class to work around bugs with element.style.display = null in IE