Creating a box/shaddow around images

Is there a good way with CSS to create a 1-2px border box around images within posts/PMs? Or at least a drop shaddow?

A lot of screenshots are white background on white backgrounds and sometimes its hard to tell where the image ends and inline text begins.

Anyone?

You can try to add css:

.topic-body img, .lightbox-wrapper .lightbox {
     box-shadow: 0 0 10px 3px rgba(221, 221, 221, 1);
}

Or add a border

border: 1px solid #e9e9e9;
4 Likes

You could help to answer your own question by right-clicking on an image and selecting ‘inspect’ or ‘inspect element’. That would lead you towards @Stranik’s answer above.

2 Likes

I did, but I didn’t find it. But now with that answer and the elements to look for I’ll give it another look. The newbie blues.

Thanks gents!

3 Likes

Ha. Learning is never ending :slight_smile:

2 Likes