The answer is; north and south
When magma rises in the divergent boundary, as new crust is formed, the iron minerals in the magma align themselves with the earth’s magnetic field before the magma cools to rock. Iron minerals have a ferromagnetic property about them. This is why the rocks layers in the sea floor spreading have bands. As the earth’s magnetic field flips regularly, the iron elements also change alignment in tandem.