fixing issue relating to overriding row styles in css