Applying visual styles to the pages