Which wood dimension to run on top of fence?
That's a 2x4.   It would look better on both sides of the fence if it were a 2x6 or 1x6, because then it would fully cover the posts.  Nail them down from the top, into the 4x4 post.