filling out pages and styles for pages