what you do is you push your hips forward a little bit. tighten your PC muslces for control and to aim. if it helps, you can pull up a little on your pubic mound with your hand. that'll put your aim a little higher, making it easier to avoid dribbling on your legs.
practice in your shower to start, and remember that little boys have to learn how to aim and splash all over the place at first too.