If you insist on buying online to save yourself some money, I highly recommend you at least visit a local bike shop and ride a few to get a feel for what fits & what's comfortable for you.
If you end up purchasing a bike that doesn't fit, or is not comfortable for you, you won't be motivated to use it very much. Especially if you're planning on longer rides (an hour or more).