使用PIE.htc无法在IE8上查看border-radius [英] Cannot SEE border-radius on IE8 using PIE.htc
问题描述
Hello All,
我试图使用PIE.htc在IE8上渲染border-radius。我在style.css下面有以下课程
Hello All,
I am trying to render border-radius on IE8 using PIE.htc. I have the following class under style.css
.roundedButton{
background: url("sprite-v-v1.gif") repeat-x scroll 0 0 #03963F;
border: 1px solid #456D8B !important;
border-radius: 7px 7px 7px 7px;
color: #FFFFFF;
cursor: pointer;
font-weight: bold;
height: 30px;
padding:0 25px;
behavior:url("images/PIE.htc");
}
以下是我项目的目录结构
MyProject(文件夹)
---- images(文件夹)
------ PIE.htc(文件)
---- MyThemes(文件夹)
------样式(文件夹)
-------- style.css(file)
所以来自style.css我将PIE.htc称为../ images/PIE.htc,但我看不到这种情况下的背景或预期的边界半径。
当我将其称为images / PIC.htc时,我可以看到背景,但仍然没有边界半径。
您能否在解决这个问题时向我提供宝贵的意见。
提前付款
Yashwanth。
The below is the my project's directory structure
MyProject(Folder)
---- images(Folder)
------ PIE.htc(file)
---- MyThemes(Folder)
------ Styles(Folder)
-------- style.css(file)
So from style.css am referring the PIE.htc as "../images/PIE.htc" but I cannot see the background in this case or expected border-radius.
When I refer this as "images/PIC.htc" I can see the background but still not border-radius.
Could you please provide me your valuable inputs in resolving this issue.
Thanks in Advance
Yashwanth.
推荐答案
您好
查看此链接http://davidwalsh.name/demo/css-rounded-corners.php [ ^ ] 而不是背景颜色使用你的如果你有相同的问题仍然是图片,那么让我知道将提供另一种方式。
Hi
check this link http://davidwalsh.name/demo/css-rounded-corners.php[^] and instead of background color use your image still if you have same issue then let me know will provide another way.
这篇关于使用PIE.htc无法在IE8上查看border-radius的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!