format html content to multiple pages and multiple columns