Does anyone know how to achieve this effect on icons? (I use Adobe Photoshop 7)

Thanks in advance!
Other ones like it



I like the divide line, but I can't figure out how to get that effect. I know it's probably something really simple, but any help would be appreciated. :)