Changed to use a style rule instead of adding the style directly to the pages.