Fixed some bugs with CSS in IE