如何调整表格里链接的行距和间距?为什么我用了CSS中行高不起作用?

hutan 2003-08-11 10:56:01
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<img src='image/go_3604.gif'>  <a href='news_show.asp?id=77' title='医院信息化的现状与进展'>医院信息化的现状与进展... [2003-8-8 11:09:04]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=76' title='医院信息化把好七道关'>医院信息化把好七道关... [2003-8-8 11:08:25]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=75' title='浅议医疗服务艺术'>浅议医疗服务艺术... [2003-8-8 11:07:36]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=74' title='市场将增数倍 投资医疗业恰逢其时'>市场将增数倍 投资医疗业恰逢其时... [2003-8-8 11:07:05]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=73' title='畅谈我国新一代医院信息系统'>畅谈我国新一代医院信息系统... [2003-8-8 11:05:16]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=72' title='《电脑报》报道:走近数字医院'>《电脑报》报道:走近数字医院... [2003-8-8 11:04:14]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=71' title='医院信息化 首先是观念'>医院信息化 首先是观念... [2003-8-8 11:02:35]</a><br class='lineheight'><img src='image/go_3604.gif'>  <a href='news_show.asp?id=70' title='卫生信息化至少过三关'>卫生信息化至少过三关... [2003-8-8 11:01:53]</a><br class='lineheight'>
</td>
</tr>
</table>

如何调整表格里链接的行距和间距?为什么我用了CSS中行高不起作用,给如何解决?
...全文
939 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
hutan 2003-08-11
  • 打赏
  • 举报
回复
还是不起做用,对普通文字的行距有效,但是对链接就无效了
Jaron 2003-08-11
  • 打赏
  • 举报
回复
<td style="line-height: 25px;">

.............

</td>

try it..
hutan 2003-08-11
  • 打赏
  • 举报
回复
谢谢各位的指导!问题已解决
ssm1226 2003-08-11
  • 打赏
  • 举报
回复
主要是图片的问题,建议使用表格进行调整行高

:)
myblessu 2003-08-11
  • 打赏
  • 举报
回复
你的含有<img>了.定义line-height:就不起作用了.同意fason(阿信)的,象你这样的用表格
fason 2003-08-11
  • 打赏
  • 举报
回复
不要用<br>,养成多用表格的习惯,<img align="absmiddle">加上这个属性

61,124

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧