Since is an integral domain, we can view .
Let be an ideal of . Show that is an ideal of , and then show that . This is showing that every ideal in this ring of fractions corresponds to an ideal of in this particular way.
Once you have done this, it should be fairly easy to show that is principal.