Glad to be of help to someone. \o/
I have a question too, How do I add a dashed border?
Well, there's no actualy way (as far as I know) to make a dashed border, but I came up with a slightly crude method.
_______________________________
(This method works best on rectangular shapes.)
First, make sure the object you want bordered is on it's own layer. If it's the entire image, expand the canvas size by a few pixels to make some room.
Then, make a new separate image 10x10 px, and make a 2-by-2 checkerboard pattern on it (using whichever colors you choose), and then go to Edit > Define Pattern. Now you've made a checker pattern.
Now go back to the image you want bordered, right-click on its layer, and go to Blending Options. From there, click on the
word Stroke, and this will check the box next to it and bring up its control panel. Find the drag box that says Fill Type and change it to Pattern, and then change the pattern to the checker pattern you just made. Now you'll see a checkerboard pattern around your image. Now if it's a good rectangle, it'll look like a great dashed border; if not, results may vary. ^^;
EDIT - Example Result:
...and of course you can change the thickness of the border and the size of the checker pattern in the Blending Options|Stroke menu.
_______________________________
Hopefully this wasn't too long and hopefully it worked! If you have any questions, don't hesitate to tell me! ^_^