css changes and alert message