When it comes to dips, play it by feel. If you want to put more emphasis on the chest, lean forward until you feel the chest doing more work. If you're wanting to hit the triceps hard, keep the back straight and make sure you're feeling the triceps doing a lot of work.
Dips are great because you can change it up during the exercise.