Forums
View unanswered posts | View active topics It is currently Wed May 22, 2013 4:39 pm



Reply to topic  [ 5 posts ] 
 Unknown File Type and IE Locking Up Problem 
Author Message

Joined: Sat Oct 08, 2011 8:25 pm
Posts: 3
Post Unknown File Type and IE Locking Up Problem
I'm having an impossible time with PIE. I have my website working perfectly in every browser on mac, Firefox/Chrome on PC, but on IE it's completely busted. In fact the site falls to its knees and locks up becoming completely unusable.

When I pull up the file via absolute path in the address bar on IE 8 it promps me to download the file and says it is an unknown file type.

On IE 7 the website is so broken that I don't even know where to begin. I'm using this with wordpress and my script is as follows in my function.php file.

Code:
/**
* Attach CSS3PIE behavior to elements
* Add elements here that need PIE applied
*/
function ev_render_ie_pie()
{
   echo '
<!--[if lte IE 8]>
<style type="text/css" media="screen">
   a.sliderButton,a.currentSlide,
   a.sliderButton:hover,
   #slide-list a,
   #slide-list li.current-slide a,
   #slide-list a:hover,
   #content,
   .classBoxShadow,
   #sliderBanners,
   h3.widgetTitle,
   div.widget h2,
   #footer,
   .boxShadow,
   .opacity30,
   .opacity50,
   #header,
   #nav li ul li:first-child a,
   .firstMenuItem,
   #nav li ul li:last-child a,
   .lastMenuItem {
      behavior: url('. trailingslashit(get_bloginfo('template_url')).'js/PIE/PIE.htc);
   }
</style>
<![endif]-->';
}
add_action('wp_head', 'ev_render_ie_pie', 8);


I've tried it both ways in referencing the file with .php and .htc. Both bring a prompt for me to download the file.

What am I needing to do to fix this? If you want to see the URL you will need to private message me as I'm not allowed to release this URL into the public quite yet. Sorry.


Sat Oct 08, 2011 9:53 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: Unknown File Type and IE Locking Up Problem
Prompting to download is expected. Just make sure that the content-type header sent by the server is correct, and that the contents of the file are correct.

For your other problems you'll need to be more specific. If you want to email me the URL at jason@css3pie.com I can take a look.


Sun Oct 09, 2011 8:15 am
Profile

Joined: Sat Oct 08, 2011 8:25 pm
Posts: 3
Post Re: Unknown File Type and IE Locking Up Problem
Jason thank you for the quick reply. Here's what was happening, and I only discovered this by mistake.

I'm using the blueprint framework and apparently the IE.css file they have included in it was conflicting with CSS3 PIE and or the dean edwards ie9.js file.

When I took out the IE.css file reference from blueprint then my site worked, layout was fixed for the most part and the site no longer was crawling to its knees.

Now I think the only problem I'm having is that the rounded corners are not working. Drop shadows are showing up. I believe this is a z-index issue I was reading some place.

I'm also trying to figure something out. I have a button that is absolutely positioned and I'm applying a dropshadow to it. Does CSS3 PIE need position to be relative at all times or can it be absolute too?


Sun Oct 09, 2011 1:25 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: Unknown File Type and IE Locking Up Problem
position:absolute will work fine.


Sun Oct 09, 2011 5:27 pm
Profile

Joined: Sat Oct 08, 2011 8:25 pm
Posts: 3
Post Re: Unknown File Type and IE Locking Up Problem
Jason I just sent you an email.

I'm mainly having a problem with rounded corners now and my sub menu being hidden (cut off). I'm on skype too. But I can't seem to locate the problem exactly. I've tried everything it feels like. I know I'm missing something stupid.


Sun Oct 09, 2011 7:33 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 3 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.