# Support IE 7+8+9 PIE.htc

**URL:** <https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915>\
**Category:** Shopware 3.5\
**Tags:** themes--design\
**Created:** [11. Januar 2013 um 20:18 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915 "2013-01-11T20:18:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmoxx](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cosmoxx](https://forum.shopware.com/u/cosmoxx)\
**Post date:** [11. Januar 2013 um 20:18 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/1 "2013-01-11T20:18:06Z")

</div>

Hallo Zusammen, habe die Datei PIE.htc in mein Template integriert und in der CSS definiert. Trotzdem werden die CSS3 Styles nicht wirksam. In der CSS sieht das so aus: background: -moz-linear-gradient(#6BC7CB, #1FC7CB) repeat scroll 0 0 transparent; background: -webkit-linear-gradient(#6BC7CB, #1FC7CB) repeat scroll 0 0 transparent; background: -ms-linear-gradient(#6BC7CB, #1FC7CB) repeat scroll 0 0 transparent; background: -o-linear-gradient(#6BC7CB, #1FC7CB) repeat scroll 0 0 transparent; background: linear-gradient(#6BC7CB, #1FC7CB) repeat scroll 0 0 transparent; -pie-background: linear-gradient(#6BC7CB, #1FC7CB); behavior: url("{link file=‚frontend/\_resources/PIE.htc‘}"); Habe ich irgendwas falsch gemacht? Danke im Voraus.

---

<div class="post-metadata">

**Author:** ![cosmoxx](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cosmoxx](https://forum.shopware.com/u/cosmoxx)\
**Post date:** [14. Januar 2013 um 09:57 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/2 "2013-01-14T09:57:03Z")

</div>

Hallo, hat denn niemand eine Idee? Danke.

---

<div class="post-metadata">

**Author:** ![cosmoxx](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cosmoxx](https://forum.shopware.com/u/cosmoxx)\
**Post date:** [15. Januar 2013 um 10:18 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/3 "2013-01-15T10:18:19Z")

</div>

Hallo, hat denn nimenad einen Tipp?

---

<div class="post-metadata">

**Author:** ![cosmoxx](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cosmoxx](https://forum.shopware.com/u/cosmoxx)\
**Post date:** [6. Februar 2013 um 13:59 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/4 "2013-02-06T13:59:52Z")

</div>

Hallo, für einen kleinen Tipp wäre ich sehr dankbar. Danke.

---

<div class="post-metadata">

**Author:** ![schisch](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@schisch](https://forum.shopware.com/u/schisch)\
**Post date:** [6. Februar 2013 um 16:37 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/5 "2013-02-06T16:37:09Z")

</div>

Hi, bin selbst Shopware-Anfänger, also keine Garantie für die Richtigkeit meiner Aussage. Ich glaube, dass Smarty-Tags in normalen CSS-Dateien nicht behandelt werden. Vielleicht solltest Du es testweise mit einem absoluten Pfad bei der behaviour-Anweisung versuchen, um die PIE.htc zu übergeben.

---

<div class="post-metadata">

**Author:** ![johkorn](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@johkorn](https://forum.shopware.com/u/johkorn)\
**Post date:** [24. Februar 2013 um 18:53 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/6 "2013-02-24T18:53:19Z")

</div>

Es sollte helfen die PIE.htc einfach in den Hauptordner (also nicht den Template-Unterordner) zu legen und dann im CSS einfach über behavior: url(PIE.htc); anzusprechen.

---

<div class="post-metadata">

**Author:** ![Stephan\_Pohl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stephan_pohl/32/10212_2.png) [@Stephan\_Pohl](https://forum.shopware.com/u/Stephan_Pohl)\
**Post date:** [25. Februar 2013 um 10:19 UTC](https://forum.shopware.com/t/support-ie-7-8-9-pie-htc/10915/7 "2013-02-25T10:19:38Z")

</div>

Hallo cosmoxx, HTC-Dateien müssen immer relativ zur HTML-Datei angegeben werden und nicht relativ zum Stylesheet. Deshalb würde ich Ihnen empfehlen ein Conditional Comment zu setzen und hier die Elemente anzugeben, die den “behavior” haben sollen: [code]\<!–[if lte IE 8]\>

.my-pie-enabled-class { behavior: url("{link file='frontend/\_resources/PIE.htc'}") }

\<![endif]–\>[/code] Weitere Informationen findet man im “Getting Started”-Guide von CSS3PIE: [http://css3pie.com/documentation/getting-started/](http://css3pie.com/documentation/getting-started/) Viele Grüße, Stephan Pohl :shopware:
