Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

.htc file location
 
Digibeuk
Jr. Member
 
Total Posts:  1
Joined:  2010-05-12
 

Can anybody help me with the location for a htc file? this is intended to use rounded corners in IE.

I tried every location I can think of in the skins/theme folder (in css/images/root etc) but i doenst want to load.

My css rule is :

.col-main{
float:right;
width:208px;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
behavior: url(../images/border-radius.htc)!important;
background:#FFFFFF;
}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bruno Said
Jr. Member
 
Total Posts:  1
Joined:  2010-02-17
 

I have the same one. I’ve tried search some solution for this problem, but I don’t found.. =/
So I tried to do this: In fhe head.phtml, I put this code below:

<style>
.
box { border-radius4pxbehaviorurl (<?php echo $this->getSkinUrl(''?>/css/ie-css3.htc); 
</style>

Ps. “.box” is the generic class I use to put rounded corners in the elements.

However, when I update the page at Internet Explorer (Version 8), display an error of access denied for .htc file.

 
Magento Community Magento Community
Magento Community
Magento Community
 
arve
Jr. Member
 
Total Posts:  25
Joined:  2009-05-18
 

same problem here. even gave the file 777 permissions.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sticule
Jr. Member
 
Total Posts:  2
Joined:  2010-07-21
 

<style>
.
box { border-radius4pxbehaviorurl (<?php echo $this->getSkinUrl(\'\'?>/css/ie-css3.htc); 
</style>

This code are not working because you have to delete the / before css !

so this code must be like this :

<style>
.box { border-radius: 4px; behavior: url (<?php echo $this->getSkinUrl(\'\') ?>css/ie-css3.htc); }
</style>

This work fine for me !

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sticule
Jr. Member
 
Total Posts:  2
Joined:  2010-07-21
 

<style>
.
box { border-radius4pxbehaviorurl (<?php echo $this->getSkinUrl(\'\'?>/css/ie-css3.htc); 
</style>

This code are not working because you have to delete the / before css !

so this code must be like this :

<style>
.box { border-radius: 4px; behavior: url (<?php echo $this->getSkinUrl(\'\') ?>css/ie-css3.htc); }
</style>

This work fine for me !

 
Magento Community Magento Community
Magento Community
Magento Community
 
Frankieboy46
Jr. Member
 
Total Posts:  21
Joined:  2009-10-27
 

Thanks, this post helped me smile

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top