页面图片背景显示重复

代码如下
<table cellpadding='0' cellspacing='0' border=0 style="border: 1px solid #B9B9FF;">
<tr>
<td background="panel/corners-sprite.gif"onclick="t('4')" style="width:100px;height: 30px;" nowrap="nowrap">测试图片显示</td>
</tr>
<tr>
</table>
实际显示的图样如:图样1.
原本理想中的图样如:图样2.

<td style="background-image:url("panel/corners-sprite.gif"onclick="t('4')" ) ;background-repeat:no repeat ;width:100px;height: 30px;" nowrap="nowrap">测试图片显示</td>

这样就行了追问

其实,这个图片太小了。即使用你的方法也是会重复显示的。

追答

改成background-repeat:no repeat 把图片的宽高 改一下, 然后 就行了。 实在不行你把图片的 尺寸改一下也行。。
可怜可怜 采纳我吧 .....

温馨提示:答案为网友推荐,仅供参考