generalizing new and show HTML and CSS styles