added try/catch for color inherit, which is unsupported in ie7 and below