Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    14
    Plugin Contributions
    0

    Default Drop Shadow Doesn't Work in IE8

    Hello,
    the drop shadow in my layout doesn't work in IE8.
    Work in IE9 and Firefox and I can not understand why it does not work in IE8.
    This is my stylesheet Code:

    .shadow {
    -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 35px -1px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    /* For IE 8 */
    /*-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=360, Color='#000000')";*/
    /* -ms-filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='15', MakeShadow='true', ShadowOpacity='0.40'); */
    /* For IE 5.5 - 7 */
    /*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=360, Color='#000000');*/
    /* filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='10', MakeShadow='true', ShadowOpacity='0.40');*/
    zoom: 1;
    border:#999 solid 1px;
    }



    If anyone knows the solution of the problem.
    My Zen Cart version is 1.3.9
    Thanks.

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Drop Shadow Doesn't Work in IE8

    How about removing the comment tags

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Drop Shadow Doesn't Work in IE8

    Along with your IE8 problem it seems you are also suffering from code pollution.

    To solve your problem though, try the following.

    CSS
    .shadow {
    -moz-box-shadow: 0 0 14px 3px #999;
    -webkit-box-shadow: 0 0 14px 3px #999;
    box-shadow: 0 0 14px 3px #999; /* this is used by IE9 */

    /* For IE 8 and below */
    background:white;
    -ms-filter: "progidXImageTransform.Microsoft.Blur(PixelRadius=4,MakeShadow=true,ShadowOpacity=0.30) ";
    zoom: 1;
    }

    .shadow .content { position:relative }


    HTML

    <div class="shadow">
    <div class="content">

    image code here

    </div>
    </div>
    Adjust the above to suit your needs.

    The problem with < IE9 Browsers, as IE9 understands things better, you have to do two extra things:

    background:white; - in your CSS

    and using another DIV in your HTML

    <div class="content">

    image code here

    </div>

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Drop Shadow Doesn't Work in IE8

    OK, just realized you are trying to do an "inset" shadow and with < IE9 it ain't gonna happen. Sorry.

    Perhaps though, the code I posted will come in handy for others?

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Drop Shadow Doesn't Work in IE8

    After a bit of searching, it seems you could do it in < IE9 but you will probably have to use JS / jQuery or some convoluted CSS specific for IE.

  6. #6
    Join Date
    May 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: Drop Shadow Doesn't Work in IE8

    The problem also arises with the conflict with JWPlayer: Example:
    If I add the drop shadow in IE8, all videos are displayed wrong (bad Audio/Video, video choppiness...) (*NOTE: the videos are displayed wrong in all Browser) ,
    if instead, disable the drop shadow in IE8, all videos are displayed without any problem.

    ...and I can not solve this problem!

    A question for "Website Rob":
    where and what should be changes to the PHP?

 

 

Similar Threads

  1. Drop shadow around mainwrapper
    By rayring in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Feb 2011, 03:19 PM
  2. sometimes ie8 add to cart doesn't work on my site
    By Maxie1971 in forum Bug Reports
    Replies: 36
    Last Post: 21 Apr 2010, 01:14 PM
  3. Main wrapper drop shadow issue
    By Graphic Content in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Dec 2008, 05:12 PM
  4. Drop shadow DIV
    By kru in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 May 2008, 10:35 AM
  5. CSS drop shadow text
    By studeo in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 28 Jan 2007, 10:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg