I can not understand why the PIE.htc file connected to round the corners in IE does not work for me. spelled out in styles

#SubPageBanner .bannerButton { border-radius:5px; behavior: url(PIE.htc); } 

The main.css and PIE.htc files are in the same folder. In the folder with the styles from the unpacked archive, I transfer only PIE.htc.
The corners are not rounded. What could be the reason?

1 answer 1

in the .htaceess file it may well be necessary to put AddType text / x-component .htc

and as an option you need to use: behavior: url (PIE.php);

  • No, in PIE there are 2 files, one executable which itself sends a header with the php extension, the second is just js and has the extension htc. In general, try setting the full path from the root of the site to the PIE; if this helps, then something is wrong with the ads, if not, try adding the file type via AddType. - binliz
  • with the full path didn’t work - Heidel
  • and if this is a Kentico site, will there be .htaccess? - Heidel
  • No, it will not be there otherwise configured - binliz
  • and how differently? otherwise I don’t know how to even google it - Heidel