Fix ie6 and ie8 compatibility with css3