Search code examples
internet-explorercss

IE CSS3 box-shadow with dynamic height


I'm trying to make a box shadow for a div with a dynamic height. which works fine with

filter: progid:DXImageTransform.Microsoft.Shadow(color='#78000a', Direction=180, Strength=15)

But only if a specific height is set. But I want a shadow also on an dynamic height. Is this possible? I also tried min-height but doesn't work.


Solution

  • Not sure why, but apparently it often helps if you add

    zoom:1;
    

    to the div's css.

    http://jsfiddle.net/wXNRc/2/

    (example is IE-only)