我正在尝试设计我的 table 头样式,使其具有像这样的圆 Angular 图像:
<tr style="background: url(middleimage.gif) repeat-x;">
<th style="background: url(leftimage.gif) no-repeat;">
title
</th>
<th>
title
</th>
<th style="background: url(rightimage.gif) no-repeat;">
title
</th>
</tr>
在 firefox 中这工作正常,但在 ie 中它用白色背景颜色填充第一个和最后一个 th-tag 并且不在 tr-tag 中显示背景图像。
示例:
我该如何解决这个问题?
最佳答案
你试过吗
style="background: transparent url(yourimage.xyz) no-repeat;"
关于html - 使用背景图像时,如何在所有 IE 浏览器中删除 <th> 标记中的背景颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3212497/