How do I keep the Deer and Elk out of my garden?

How do I keep the Deer and Elk out of my garden?

We have just moved into the foothills outside Denver and want to keep up with our gardening. Does anyone know of an effective deterent to deer and elk besides a 12' fence? Are there any sonic type repellers that are solar powered? We would like to have something in place befor the sprouts come up.
Thanks!