It's called flat piping or a flange. Here are directions if you want it between the outside border and the binding. The trick is to lap the corners, not miter them. You could put it between two borders the same way if you wanted to.
http://www.quiltmaker.com/tips/tip18/ I think it looks great and seems simple enough to do. Hope this helps.