I have been trying to make pie work on my site. I have changed from the htc file to the php file. I have made the position relative. I already had it in a container div and I just added the pie attributes to it. Here is my code.

The only other option is to alter the htaccess file which I am reluctant to do as my information says it will slow down the server. Am I being paranoid about that as I have never made changes to the htaccess file? Before I try that I would like to make sure my code is correct.Thank you

Tue Sep 07, 2010 10:13 am

krisj

Joined: Tue Sep 07, 2010 9:25 amPosts: 2

Re: making pie work

I should add I am working with IE8 right now. Have not tried the other IE's.

Tue Sep 07, 2010 10:15 am

jason

Joined: Wed Jul 14, 2010 11:46 amPosts: 1451

Re: making pie work

Assuming your server runs PHP code, there should be no reason to modify the .htaccess; the PHP file should do the trick as far as the content-type goes.

Your code snippet looks fine at first glance. Is there a public URL where we can take a look?

Tue Sep 07, 2010 7:13 pm

calzone

Joined: Sat Sep 25, 2010 4:03 pmPosts: 3

Re: making pie work

I'm having the same problem.

behavior: url(/border-radius.htc) works fine for me, but behavior: url(/PIE.htc) does not, neither does behavior: url(/PIE.php)

all three files are in my webroot.

that indicates to me that the htc file type is not the problem and neither is the root relative url being used (since /border-radius.htc works just fine.

the only remaining idea I have is that somehow, PIE is not happy with my css where border-radius works fine:

You're specifying -border-radius:45px; ... it shouldn't have a leading dash. Not sure if that's the whole issue but it should be a start.

Sat Sep 25, 2010 5:47 pm

calzone

Joined: Sat Sep 25, 2010 4:03 pmPosts: 3

Re: making pie work

jason wrote:

You're specifying -border-radius:45px; ... it shouldn't have a leading dash. Not sure if that's the whole issue but it should be a start.

oops, that was a problem with my posting process, not the actual code. I had copy-pasted the relevant code into a text file earlier and while I was fiddling with PIE trying to get it to work, I realized it had that dash there and removed it from my actual code and proceeded to re-test it across the board. Then when I came here to post my question, I had already closed my remote css document and out of laziness used the version in my text file.

So anyway, I just went to look at my live code and confirmed the leading dash is not there. I also tried invoking PIE in a few other definitions in my css file and it doesn't seem to be working in any.

but as indicated earlier, border-radius.htc works ok... but it just won't handle anything other than rounded corners and I was greedily looking to get as much css3 yumminess for IE as I could.

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum