CSS3 box-shadow (and it’s vendor-specific subsets) can be used with 0 blur to create an additional inner or outer border along one side. This can be useful for creating inset or outset type effects. The standard CSS border-style declaration of ‘double’ produces a single line of the defined color and a single line that’s transparent – seldom the intention of the author.

For an outer border:

For an inner border: