We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1892
    • 82 Posts
    For information I’ve just seen this little utility PIE http://css3pie.com/ which makes Internet Explorer 6-8 capable of rendering some CSS3 decoration features, border radius, drop shadow and gradients.

    I thought it might be of interest or use to someone, I’m just about to start a new site and I’m considering giving it a try. Has anyone else used it?

    Regards

    Adrian
      • 5340
      • 1,624 Posts
      Too bad they don’t have demos. I’ll give it a try myself on my next project
        • 16702 ☆ A M B ☆
        • 536 Posts
        usefully
        thanks
          palma non sine pulvere
          • 32046
          • 75 Posts
          Did anyone get this working? I have placed the PIE.php and PIE.htc in my /assets/css folder and used the css
          .shadowTRBL {
             -webkit-box-shadow: #444 0px 0px 10px;   
             box-shadow: #444 0px 0px 10px;
             behavior: url(/PIE.php);
          }

          but this does not seem to work. I suspect the behavoiur file is not being found, but I’m unfamiliar with IE dev tools so not sure how to verify this.

            • 23510
            • 168 Posts
            replace

            behavior: url(/PIE.php);

            with

            behavior: url(/assets/css/PIE.php);
              • 32046
              • 75 Posts
              oops, that is actually what I had, my bad typo. So it still does not work!
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Is your MODx installed in the web root, or in a subdirectory? The leading / means the web root, so if you’re in a subdirectory you’d need /modx/assets/...
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 32046
                  • 75 Posts
                  OK, Got it working, thanks for the helpful input guys.
                  It seems like the behavior file was actually being found (man I hate IE developer tools - gimme be webkit inspector or firebug anyday), but for some reason ( which I don’t understand at this point) the element this behavior is applied to must have position:relative set.

                  Anyway, the result is simply brilliant. I can now use CSS3 features such as box-shadow and rounded corners and have them render in all browsers including IE6 upwards. No more screwing around with background images, man this is such a simple way to lay out pages. (Bring on full CSS3 support).

                  Sure there is a little extra overhead with the behavior file, but hey, I lose some overhead with fewer background images etc too, so thats a good trade-off. smiley

                    • 32950
                    • 23 Posts
                    Hey wdnz - thanks for bringing this to my attention - must look further - AL
                      • 20413
                      • 2,877 Posts
                      Woot! This is really useful! smiley
                        @hawproductions | http://mrhaw.com/

                        Infograph: MODX Advanced Install in 7 steps:
                        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower