[resolved] Attempting to include an .htc file for IE CSS3 compatibility (3 posts)

  1. seeurope
    Posted 2 years ago #

    I've began working on a site by modifying WP's default theme but am using css3 properties like "border-radius" which are not read by IE < 9 I've used a fix that has worked for me before and has worked on non-WP sites: a css declaration:

    behavior: url(PIE.htc);

    referring to a file I downloaded and demoed here: http://css3pie.com/

    No result under IE7 and IE8. The file PIE.htc is in the same dir as style.css - /wp-content/themes/theme-name/

  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Have you tried this plugin http://wordpress.org/extend/plugins/ie-css3-support/ ?
    It runs the CSSPie code for you, but only works on CSS within style.css.

  3. seeurope
    Posted 2 years ago #

    The plugin immediately gave me rounded corners. Thanks a lot! :) I'm still meeting problems when having to reference files outside the css, which I think is a problem related to this one - I can't seem to load my fonts using @font-face. I've opened another thread here: http://wordpress.org/support/topic/fonts-included-with-font-face-are-not-rendered?replies=13 If you have a clue to help me there it would be awesome.

Topic Closed

This topic has been closed to new replies.

About this Topic