set textpage styles