fix styles anf html5mode