add ie6-8 support for dom.css method