asp网页里,用什么字母可以让两段分行,就是顶部广告栏(top.asp)和导航条(lm.asp)行分
就是顶部广告栏(top.asp)和导航条(lm.asp)行分<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%><!--#includefile=...
就是顶部广告栏(top.asp)和导航条(lm.asp)行分
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/xw.asp" -->
<%
Dim config
Dim config_cmd
Dim config_numRows
Set config_cmd = Server.CreateObject ("ADODB.Command")
config_cmd.ActiveConnection = MM_xw_STRING
config_cmd.CommandText = "SELECT mc FROM config"
config_cmd.Prepared = true
Set config = config_cmd.Execute
config_numRows = 0
%>
<!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" />
<link href="cssbook.css" rel="stylesheet" type="text/css"/>
<title>测试名称 ----欢迎你!</title>
</head>
<!--<!-- #include file="top.asp" -->
<body>
<!--<!-- #include file="lm.asp" -->
</body>
</html>
<%
config.Close()
Set config = Nothing
%>
换行了,谢谢,能否再帮下~
但是第二行的开头和第二行的开头大概相差十多个字的距离 展开
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/xw.asp" -->
<%
Dim config
Dim config_cmd
Dim config_numRows
Set config_cmd = Server.CreateObject ("ADODB.Command")
config_cmd.ActiveConnection = MM_xw_STRING
config_cmd.CommandText = "SELECT mc FROM config"
config_cmd.Prepared = true
Set config = config_cmd.Execute
config_numRows = 0
%>
<!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" />
<link href="cssbook.css" rel="stylesheet" type="text/css"/>
<title>测试名称 ----欢迎你!</title>
</head>
<!--<!-- #include file="top.asp" -->
<body>
<!--<!-- #include file="lm.asp" -->
</body>
</html>
<%
config.Close()
Set config = Nothing
%>
换行了,谢谢,能否再帮下~
但是第二行的开头和第二行的开头大概相差十多个字的距离 展开
3个回答
展开全部
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/xw.asp" -->
<%
Dim config
Dim config_cmd
Dim config_numRows
Set config_cmd = Server.CreateObject ("ADODB.Command")
config_cmd.ActiveConnection = MM_xw_STRING
config_cmd.CommandText = "SELECT mc FROM config"
config_cmd.Prepared = true
Set config = config_cmd.Execute
config_numRows = 0
%>
<!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" />
<link href="cssbook.css" rel="stylesheet" type="text/css"/>
<title>测试名称 ----欢迎你!</title>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!-- #include file="top.asp" --></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!-- #include file="lm.asp" --></td>
</tr>
</table>
</body>
</html>
<%
config.Close()
Set config = Nothing
%>
加2个table看看效果
2行的距离大是因为top.asp或lm.asp里有css控制,具体要看这两个页面和你网站的css文件
<!--#include file="Connections/xw.asp" -->
<%
Dim config
Dim config_cmd
Dim config_numRows
Set config_cmd = Server.CreateObject ("ADODB.Command")
config_cmd.ActiveConnection = MM_xw_STRING
config_cmd.CommandText = "SELECT mc FROM config"
config_cmd.Prepared = true
Set config = config_cmd.Execute
config_numRows = 0
%>
<!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" />
<link href="cssbook.css" rel="stylesheet" type="text/css"/>
<title>测试名称 ----欢迎你!</title>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!-- #include file="top.asp" --></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!-- #include file="lm.asp" --></td>
</tr>
</table>
</body>
</html>
<%
config.Close()
Set config = Nothing
%>
加2个table看看效果
2行的距离大是因为top.asp或lm.asp里有css控制,具体要看这两个页面和你网站的css文件
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询