In the Format > Cells dialog, Borders tab: Select the style you want for the current cell. Now click one of the icons showing the position desired, then click OK.
I was selecting the style of line, then OK. Then I was going to the cells where I wanted that style and creating the borders. That didn't work.