Putting border around slider images with CSS?

I have the slider running on a test site. It works as expected (Joomla! version 3.6.5, DJ Image Slider version 3.2.1

I am trying to put a drop shadow or border around each image. The elements involved show as element img.dj-image

But, if I try to place a border around the images like this:

img.dj-image {
border: 2px solid gray !important;
}

I only get borders on the left and top sides. A look at the other CSS code being applied doesn't immediately suggest why this should be so.

Ideas?

TIA!
Tagged:
Sign In or Register to comment.