View unanswered posts | View active topics It is currently Mon Jan 20, 2020 8:51 am

Reply to topic  [ 3 posts ] 
 No rounded corners in IE 
Author Message

Joined: Wed Oct 13, 2010 1:18 pm
Posts: 2
Post No rounded corners in IE

I'm just giving CSS3Pie a tryout for the first time but so far I haven't been able to get it working with my rounded corners. I'm just trying it out on a simple button and have followed the documentation but no joy. A demonstration can be seen here`: Is there anything obvious I'm forgetting to do?


Wed Oct 13, 2010 1:21 pm

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: No rounded corners in IE
Obvious is relative. ;)

Check the z-index issue:

Wed Oct 13, 2010 3:35 pm

Joined: Wed Oct 13, 2010 1:18 pm
Posts: 2
Post Re: No rounded corners in IE
It certainly wasn't obvious from my previous viewpoint but always so when you find the answer. :)

I read the FAQ on the z-index issue but this is related to CSS positioning models and backgrounds not appearing at all. Mine appeared fine but just didn't apply the rounded corners. I'm also using a float-based layout.

I did however come across a section mentioning that IE requires the correct content type to be served or it will simply ignore the behaviour:
IE requires that HTC behaviors are served up with a content-type header of "text/x-component", otherwise it will simply ignore the behavior. Many web servers are preconfigured to serve the correct content-type, but others are not.

I tried adding:
AddType text/x-component .htc

to my .htaccess file and it worked a charm. It seems that my web server wasn't one of the pre-configured ones so I just made sure I told it in advance.

I'm glad to see it working, I think it's a nicer solution than using jQuery plugins to simply add CSS effects. I think I'll definitely be a regular user of CSS3Pie.

Wed Oct 13, 2010 4:21 pm
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 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.