Magnetic repulsion and attraction
You may have noticed that the materials that make good magnets are the same as the materials magnets attract. This is because magnets attract materials that have unpaired electrons that spin in the same direction. In other words, the quality that turns a metal into a magnet also attracts the metal to magnets.
copied this from howstuffworks.com
Ok so by how I understand it from howstufffworks.com and yahoo answers, magnets attract materials that have unpaired electrons that spin in the same direction, so north pole of a magnet is attracted to south pole of another magnet because the south pole of the magnet has unpaired electrons that spin in the same direction and which faces the north pole of the first magnetso south pole is cancelled out by the north pole? Ok this sounds totally wrong somehow.....
Can someone please help and explain why magnets repel too in terms of atomic theory thank you!