设置table 行高无效

执着地梦想 执着地梦想 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
table表格行高受CSS影响,无法改变,最小始终是20,现在需要设置成1,不能更改CSS,其他很多地方还要用,
<div id=demo style="overflow:hidden;height:350px;width:200px;">
<div id=demo1 >
<table cellspacing="0" cellpadding="0 border="1" style="font-size:1px;height:1px;line-height:1px;overflow:hidden;word-wrap:break-word;align:right;">
<tr>
<td><a href="#" onmouseover="MouseOver(this)"><img src="/images/j1.gif" border="0"></a></td>
</tr>
<tr>
<td style="bgcolor:#cccccc;line-height:1px;height:1px;"></td>
</tr>
</table>
</div>
请指教。
...全文

相关推荐

评论 7
收藏 已收藏
分享
返回顶部
执着地梦想
ASP 28,401 成员 356,940 内容