>Electromagnetic fields and gravity are not the same thing. Gravity uses the inverse square, while electromagnetic field uses the inverse cube to determine force. Although gravity is a relatively weak force, it is much stronger than electromagnetic fields.
It is my understanding that the electrostatic force (attractive or repulsive) is inverse-square. Coloumb's Law, from my physics book:
Q1 * Q2
F = k -------
r^2
where Q1 and Q2 are the two charges involved, r is the distance between them, and k is a proportionality constant.
The reason gravity is stronger is because it is cumulative. Electric charges tend to cancel, at least to a great extent, on large scales.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)