分享

写回答

发帖

[提问] 问个技术问题,麻烦大家给看看

暮木娃娃

发表于 2012-4-23 09:39:15 | 显示全部楼层

自己用dreamwear看看,选中那个空格看看对应的是什么代码。根据你的代码不清楚你的网站div怎么用的
代码建议去那些开发网站问问,想csdn等,这边主要是主机问题,代码不清楚
回复 支持 反对

使用道具 举报

GoDaddy GoDaddy 1515 人阅读 | 1 人回复

回答|共 1 个

发表于 2012-4-22 00:36:44 | 显示全部楼层 |阅读模式

自己做了一个站,需要加图片,现在内容页里有很大一个空
12.jpg


改页面属于sjjy.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">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/function.asp"-->
<%
sql_net="select * from web where id=22 "
set rs_net=server.CreateObject("ADODB.recordset")
rs_net.open sql_net,conn,1,1
my_title=rs_net("name")
my_content=rs_net("content")
%>
<html>
<head>
<title><%=my_title%>-<%=web_name%></title>
<META name="keywords" content="<%=my_title%>,<%=web_keywords%>">
<META name="description" content="<%=web_description%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<link href="../css/css_qs.css" rel="stylesheet" type="text/css" />

<style type="text/css">
<!--
body {margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        background-color: #232323;
}
-->
</style>
</head>

<body>
<!--#include file="../inc/head.asp"-->
<!--#include file="../inc/tu.asp"-->
<div style="width:1024px; margin:0px auto; background-color:#FFFFFF; height:1100px;">
  <!--#include file="../inc/leftn.asp"-->
  <div style="float:left; margin-left:35px; margin-top:10px; margin-right:78px; width:680px;">
    <div><img src="../images/xjjy.gif" width="679" height="25" /></div>
    <div style="margin-top:15px;"><%=replace(my_content,vbcrlf,"<br>")%></div>
  </div>
</div>
<!--#include file="../inc/bottom.asp"-->
</body>
</html>
您需要登录后才可以回帖 登录 | 注册

本版积分规则