methods for handling css, html elements and other common activities