The three second rule: it should take three seconds for your car to get to where the car ahead of you is now, at you current speed. If you are moving slowly you should allow enough space to be able to see the bottom of his wheels.
I am not sure about city driving, I am sorry! I think what people have posted here is much better than the smaller amount that I remember learning in Pennsylvania. We are pretty bad drivers down here it would seem!