IE中不显示边框
问题描述:
我有一个仅在IE中不显示的边框......
这是我的CSS
I have a border which not displayed only in IE.........
this is my css
.redborderhome{border: 1px solid #ED1F24;border-radius: 5px;position: relative;height: 130px;width: 190px;padding-top: 10px;behavior: url("PIE/PIE.htc");}
url("PIE/PIE.htc")是一种JavaScript编码,用于在边界的一角设置曲线...
当我删除url("PIE/PIE.htc")时,边框可见,但像正方形...我需要曲线边框...
谁能帮我....
url("PIE/PIE.htc") is a javascript coding to set curve in corner of the border...
When I remove url("PIE/PIE.htc") the border is visible but like square...I need the curve border...
Can anyone help me....
答
IE也支持圆角边框,但有一些限制.我不知道确切的版本,请自己检查.
为了确保这是正确的,足以用不同的浏览器查看此圆角生成器.它还将为您生成适当的跨平台CSS.请参阅:
http://cssround.com/ [ ^ ].
想法是一次定义不同布局引擎所需的属性.每个引擎将忽略其未实现的语法变体,并使用自己的语法变体.尝试一下-可以.
您可以找到很多说明背景的文章:
http://bit.ly/HPm624 [ ^ ].—SA
IE also supports rounded borders, with some limitations. I don''t know exactly which versions — check it up by yourself.
To make sure this is true, it''s enough to see this rounded corner generator with different browsers. It will also generate appropriate cross-platform CSS for you. Please see:
http://cssround.com/[^].
The idea is to define the properties in the way required by different layout engines, all at once. Each engine will ignore the syntax variant it does not implement and use its own. Try it — it works.
You can find a lot of articles explaining the background:
http://bit.ly/HPm624[^].—SA