IE8 的 CSS 属性

标签 css internet-explorer-8

IE8中rgba值和border radius值为0.0的解决方法。 我得到的错误是

Value "rgba(250, 250, 250, .6)" is not supported. (8.0)


Property "-webkit-border-radius" is not supported. (8.0)

最佳答案

选项 1

http://jquery.malsup.com/corner/

选项 2

http://code.google.com/p/curved-corner/downloads/detail?name=border-radius-demo.zip

选项 3

http://css3pie.com/

选项 4

http://www.netzgesta.de/corner/

选项 5

看这个问题

编辑:选项 6

https://code.google.com/p/jquerycurvycorners/ - 边界半径。 对于 rgba,您可以尝试创建不透明的 .png 图像并将其作为背景

或者试试

.transparent_class {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";

  /* IE 5-7 */
  filter: alpha(opacity=50);

  /* Netscape */
  -moz-opacity: 0.5;

  /* Safari 1.x */
  -khtml-opacity: 0.5;

  /* Good browsers */
  opacity: 0.5;
}

关于IE8 的 CSS 属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45739930/

相关文章:

javascript - JavaScript 中的 classList 与 className 样式

javascript - jQuery - 如何调整 CSS 过滤器(模糊)?

javascript - getViewportHeight() 导致只有一 block 视口(viewport)

html - 当文本对齐设置为左时,为什么 ie8 会将文本居中?

javascript - 在 IE 8 中看不到 Twitter Feed

javascript - Respond.js CDN/X-Domain 设置

html - 无法在表格边框/单元格周围获取线条

html - 为什么这些元素的垂直位置变化如此之大?

html - 当我不再悬停在父 UL 上时,我的子 UL 消失

css - 评论作者姓名在 Chrome 中呈现得很好,但在 IE 8 中半空白