| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 618 人关注过本帖
标题:FRAM对齐问题
只看楼主 加入收藏
kennychaly
Rank: 1
等 级:新手上路
帖 子:39
专家分:0
注 册:2007-6-19
收藏
 问题点数:0 回复次数:2 
FRAM对齐问题

下面这段代码是不是有问题呀
<frameset rows="175,*" cols="1002" frameborder="NO" border="0" framespacing="0">
<frame src="head.html" scrolling="NO" name="top" noresize>
<frameset cols="171,831" rows="*">
<frame src="left.asp" scrolling="NO" name="left">
<frame src="" name="main" noresize scrolling="YES">
</frameset>
</frameset>
<noframes>
您的浏览器不支持frameset功能,无法显示网页!
</noframes>


这是我的LEFT。ASP



<!--#include file="conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
td {
font-size: 14px;
text-decoration: none;
}
.di{
width:110px;
text-align:left;
}
-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="171" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td background="pic/left_bg_admin.jpg" valign="top" align="center">
<table>
<tr>

<td valign="top"><% sql="select * from yule"
set rs=server.createobject("adodb.recordset")
rs.Open sql,conn,1,1
do while not rs.EOF
%><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr> <td background="pic/bt_bg1_admin_left.jpg" height="22" align="right"><div class="di"><%=rs("bumen")%></div></td></tr><tr><td height="4"></td></tr>
</table>
<%
rs.movenext
loop
%>
</td>

</tr>

</table>
</td>
<td bgcolor="#D1E6F7" width="1">
</td>
</tr>
</table>

</body>
</html>





RIGHT。ASP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="831" border="0" align="left" cellpadding="0" cellspacing="0" height="200">
<tr>
<td background="pic/left_bg_admin.jpg" valign="top" align="center">
</td>
</tr>
</table>
</body>
</html>





搜索更多相关主题的帖子: FRAM frameset 浏览器 name 
2007-08-02 15:33
kennychaly
Rank: 1
等 级:新手上路
帖 子:39
专家分:0
注 册:2007-6-19
收藏
得分:0 
图片附件: 游客没有浏览图片的权限,请 登录注册


我就是什么都不会
2007-08-02 15:35
快速回复:FRAM对齐问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014437 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved