format page to fit stuff in