try 4 combinations for pending msg and move inline styles to stylesheet