starts formatting inner pages styles