The city or town council has power to regulate partition fences and party walls not already constructed.