简体   繁体   English

IE7表显示错误

[英]IE7 table display error

I created a few buttons that have different size and I need to apply shadows on it. 我创建了一些大小不同的按钮,需要在其上应用阴影。 I do all this with tables, but IE7 keeps resizing my TDs for shadow. 我用表来做所有这些事情,但是IE7会不断调整TD的大小以增加阴影。

Here is code: 这是代码:

<table cellpadding="0">
<tr>
<td colspan="3">
<a href="link">
<input type="button" value="All Categories" style="-moz-border-radius: 12px; border-radius: 12px; background: url(gbtnback.png); padding-bottom: 2px; padding-right: 5px; padding-left: 5px; color:#FFFFFF; height: 21px; cursor: pointer;">
</a>
</td>
</tr>
<tr>
<td width="27"><img src="shd1.png" height="13" width="27"></td>
<td><img src="shd2.png" height="13" width="100%"></td>
<td width="24"><img src="shd3.png" height="13" width="24"></td>
</tr>
</table>

It works perfectly in FF, but IE7 keeps resizing those three TDs at lower TR... Can this be fixed? 它可以在FF中完美运行,但是IE7会在较低的TR上继续调整这三个TD的大小...可以解决此问题吗? I try with table-layout: fixed; 我尝试使用表格布局:固定; but no luck... 但没有运气

Images, position: relative; 图片,位置:相对; float: right(left); 浮动:右(左); and many time ) Work in anything 和很多时间)在任何事情上工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM