better event html & css