Here is a good Spanish dictionary with pronunciation. See www.spanishdict.com. Hopefully this will help a lot of beginners.
For advanced students I was just given a copy of the manual “Nueva gramática de la lengua española.” It is published by the Royal Spanish Academy (Real Academia Española) and the official book for the language