solving css problems with errors and confirmation messages