CSS inheritance error