adapt css style for IE8 and IE7