The first example uses CSS that defines a div called photoBorder. In this case the border is placed around the entire width of the blog entry.
The second example is done with HTML, placing a border around a cell within the table. This has a much more pleasing look to me.
The code for these two examples can be found on the page http://sites.google.com/site/denisegoldbergplays/Home, in the file titled placeBorderAroundImage.txt.