make same style for both pages