format page style and some settings