formatting and layout on non-doc pages