styling new and edit pages