<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head><body>
<table border=1>
<tr>
<td width=500 height=50 align="right" ><font color="#ff0000" STYLE="font-size:12px;">我的内容1</font>
<td>
<td width=500 height=50><font color="#ff0000" STYLE="font-size:12px;">我的内容2</font> <iframe src="http://m.weather.com.cn/m/pn4/weather.htm " width="160" height="18" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true"></iframe> </td>
</tr>
</table>
</body>
</html>默认既然都是垂直居中的,但为什么在引入iframe之后,
“我的内容2”好像不在中间了,有点偏下了(可以和“我的内容1”进行比较)哪位高人帮助解决小,先谢了
<html>
<head>
<title> New Document </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head><body>s
<table border=1>
<tr>
<td width=500 height=50 align="right" ><font color="#ff0000" STYLE="font-size:12px;">我的内容1</font>
</td>
<td valign="middle"><font color="#ff0000" STYLE="font-size:12px; text-align:center;">我的内容2</font></td>
<td><iframe src="http://www.baidu.com" height="50" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
</td>
</tr>
</table>
</body>
</html>
但是要求的格式是不让改……都是把内容和iframe放在一个td里面
难道这样就不能解决了吗?
<html>
<head>
<title> New Document </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head><body>s
<table border=1>
<tr>
<td width=500 align="right" ><font color="#ff0000" STYLE="font-size:12px; padding-bottom:50px;">我的内容1</font>
</td>
<td valign="middle"><table cellpadding=0 border=0 cellspacing=0><tr><td><font color="#ff0000" STYLE="font-size:12px;">我的内容2</font></td><td><iframe src="http://m.weather.com.cn/m/pn4/weather.htm " marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
</td>
</tr></table> </td>
</tr>
</table>
</body>
</html>