Shadow border visibility (white pics on white bg)

hectorhe / 2012-12-09 01:41:23   

Hi:

When I used Older Indexhibit I found a code to apply a shadow border on white pics, because look rare with white background.

I replaced all my old files and I no remember the code, also only works on Firefox...

Anyone know any possible solution or idea?
Thanks so much!

arsondpi / 2012-12-09 10:46:42   

hmmm... maybe something like:

  1. #exhibit img {
  2.     -moz-box-shadow: 3px 3px 4px #000;
  3.     -webkit-box-shadow: 3px 3px 4px #000;
  4.     box-shadow: 3px 3px 4px #000;
  5.     /* For IE 8 */
  6.     -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  7.     /* For IE 5.5 - 7 */
  8.     filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
  9. }

of course this may need adjusting. Search the web using keywords "drop shadow css"

hectorhe / 2012-12-09 23:53:07   

Thanks sooo much!

This thread has been closed, thank you.