The fill-opacity selector doesn't seem to work in IE8. Does anyone know how to make VML shapes in IE8 semi-transparent?

有帮助吗?

解决方案 2

I've decided to leave well-enough alone. If IE8 refuses to accept SVGs, then user's will have to use the uglier VML experience :P

其他提示

Have you tried like setting the opacity attribute to the v:fill element ?

var vfill = document.createElement("v:fill");
vfill.setAttribute("color",fillcolor);
vfill.setAttribute("opacity",fillopacity);

Source

http://msdn.microsoft.com/en-us/library/bb229612(v=vs.85).aspx

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top