fixed IE7/IE8 rendering issues.