Formatting of teaching page