I have a site that will have a column of images and divs (a combination of both) that will always be the same size.
In all of these cases, I want to add a specific shadow (as shown here): 
I worked with CSS drop shadows, but I have never seen such as this in CSS. Can this be done in CSS? Assuming this is not possible, I assume that I would use only a piece of the shadow as the graphics, possibly the background. If this is the only way, how to apply this to every image or div?
Right now, what I'm doing is putting a div under each image or div:
<div class="rightimgdropshadow"> </div>
... and does it in CSS: .rightimgdropshadow
{ background-image: url(../images/site-structure/right-col-image-shadow.jpg); background-repeat: no-repeat; background-position: center top; width 100% height: 20px; }
Is there a better way to do this? Thanks!
Chris cummings
source share