我有以下 HTML 用于创建圆形容器,其中使用左图像、右图像、容器本身背景的渐变以及实际上通常是“阴影”的底部图像
我有以下 html,它定义了内联样式,因为它是从 .NET 控件生成的,但我可以检查浏览器并输出不同的样式。这在 IE 8 和 Firefox 3.5 中看起来很完美,但在 IE6 中看起来很糟糕。
我需要弄清楚如何让这个在 IE6 中看起来不错。
<div style="width: 305px; height: 194px;">
<div style="float: left; display: inline; background-image: url(images/LeftSide.png);
height: 194px; width: 7px;">
</div>
<div style="float: right; display: inline; background-image: url(images/RightSide.png);
height: 194px; width: 7px;">
</div>
<div style="padding-top: 5px; background-image: url(images/gradient.png);
background-repeat: repeat-x; width: 291px; height: 194px; margin-left: 7px;">
<h1>
Some text...
</h1>
</div>
<div style="background: url('../images/small_shadow.png') no-repeat; width:305px;"> </div>
您可以在https://www.msu.edu/~grossm51/sample/test.html看到一个示例。提前致谢