The p-trap should be above the floor, located about 9" above.
If you need to offset above the p-trap to the box, that is fine. I normally do that with two 45's
If the standpipe is too tall, it can siphon the trap. That's why you don't put the trap in the crawl.