当前位置: 代码迷 >> ASP >> 怎么让文字位于单元格的左下或者右上方
  详细解决方案

怎么让文字位于单元格的左下或者右上方

热度:231   发布时间:2013-01-08 14:02:13.0
如何让文字位于单元格的左上或者右下方?
如何让“回复”两字位于单元格的左上或者右下方?
<table width="528" border="1" id="anwer" align="center">
<tr>
<td width="63"><img name="m" src="images/<%=rs1("Logo")%>" width="63" height="63" /></td>

<td width="449">回复:</td>
</table> 
------解决方案--------------------
<td width="449" align ="left"><sub>回复:</sub></td>
<td width="449" align ="right"><sup>回复:</sup></td>

试试这个
------解决方案--------------------
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312" />
<title></title>
<style>

</style>
</head>
<body>
<table width="528" border="1" id="anwer" align="center">
<tr>
<td width="63"><img name="m" src="http://avatar.profile.csdn.net/D/2/5/1_shenxl03.jpg" width="63" height="63" /></td>

<td width="449">
<div style="position:relative;">
<span style="position:absolute; right:0; bottom:0;">回复:</span>
</div>
</td>
</table>  
</body>
</html>



楼主可以搜下 css 相对、绝对 定位
  相关解决方案