Adapting page formating