cms-首页搭建

日期:2019-11-20编辑作者:www.6165.com

<li><a href="/arcType/1.html">Java基础</a></li>

<li><a href="/arcType/5.html">Java爬虫</a></li>

.toplinks .input{
margin-bottom: 2px;
}

1.头部:

body{
padding: 0px;
margin: 0px;
font:12px Verdana,Arial,Tahoma;
line-height: 25px;
}

index.jsp

</div>
</div>

.menu ul li{
font: 14px/1.5 "Microsoft YaHei","微软雅黑","Microsoft JhengHei","宋体";
float: left;
height: 22px;
margin-right: 10px;
margin-left: -3px;
padding-left: 20px;
padding-top: 5px;
}

<div class="header">
<div class="w960">
<div class="title">
<a href="${pageContext.request.contextPath}/index.jsp"><img src="${pageContext.request.contextPath}/staticlogo.jpg"></a>
cms-首页搭建。</div>

.m960{
cms-首页搭建。background: green;
height: 32px;
}

cms-首页搭建。<div class="header_top">
<div class="w960">
<span class="time">Open1111 - 轻松建站赚钱从此开始</span>
<div class="toplinks">
cms-首页搭建。<form target="_blank">
[ <a target="_blank" href=" href="" target="_blank">广告业务</a> ]
 <input type="text" id="bdcsMain" class="search"/> <input type="submit" value="搜索"/>
</form>
</div>

    

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<div class="footer">
<div class="copyright">Copyright © 2012-2016 有限公司 版权所有 联系站长:<a target="_blank" href=" border="0" src="" alt="联系站长" title="联系站长"/></a> </div>
<div class="beian">备案号:<a href='' target="_blank">苏ICP备16023210号-1</a></div>
</div>

</div>
</div>

<li><a href="/arcType/6.html">网站SEO</a></li>

.header{
margin-top: 10px;
}

 

<li><a href="/arcType/7.html">广告联盟</a></li>
</ul>
</div>
</div>

.menu ul li a{
color: #FFF;
height: 22px;
text-decoration: none;
display: inline-block;
position: relative;
}

open111.css

foot.jsp

.menu{
margin-top: 10px;
}

.title{
float: left;
}

.beian a{
text-decoration: none;
color: gray;
}

.beian{
text-align: center;
}

.w960{
width: 960px;
margin: 0px auto;
overflow: hidden;
}

.toplinks a{
color: #256EB1;
text-decoration: none;
}

主页面主要有3个部分构成,头部、主体内容部分、尾部

<li><a href="/arcType/4.html">Java建站</a></li>

<li><a href="/arcType/2.html">网页基础</a></li>

.menu ul li.first{
padding-left: 40px;
}

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ";
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Open1111官方网站 -网络科技有限公司</title>
<META NAME="Author" CONTENT="1234">
<meta name="keywords" content="Java内容管理系统,JavaCMS,Java开源,Java爬虫,JavaSEO,Java CMS" />
<meta name="description" content="Open1111专注于研发Java建站,Java爬虫,JavaSEO教程.传授广大学员用Java技术来实现互联网资源的搬运,整合汇聚互联网资源建站,顺便获取一些搬运费补贴家用." />
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/open1111.css">
<script src="${pageContext.request.contextPath}/static/js/jQuery.js"></script>
</head>
<body>
<jsp:include page="/common/head.jsp"></jsp:include>
<jsp:include page="/common/menu.jsp"></jsp:include>
<jsp:include page="/common/foot.jsp"></jsp:include>
</body>
</html>

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>

<div class="menu">
<div class="w960 m960">
<ul>
<li class="first"><a href="/index.jsp" >首页</a></li>

.footer{
margin-top: 20px;
margin-bottom: 40px;
}

.toplinks{
float: right;
}

.copyright{
text-align: center;
}

.header_top{
height: 25px !important;
border-bottom:1px solid #DBDBDB;
background: url(..header_top.png) repeat-x;
}

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>

 

.tile{
float: left;
padding-left: 10px;
}

 

.menu ul{
margin:0px;
padding:0px;
height: 25px;
list-style: none;
}

menu.jsp

本文由新金沙国际手机版发布于www.6165.com,转载请注明出处:cms-首页搭建

关键词:

cms-详细页面-1

cms-详细信息页面设计 思路:点击主页面然后查询详细信信,把查询出来的数据放大modelandvie里面,然后返回前台,然...

详细>>

cms-详细页面2

详细页面遗留下来的部分: 1:当前位置 2.分享 3.时间格式 4.摘要 5.关键字: 解决方案: 1:当前位置:---后台拼接...

详细>>

cms系统-帖子页面

cms系统-帖子页面。%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"% %@ taglib uri="" prefix="c"% %@ taglib ur...

详细>>

cms-幻灯片的实现

/** * 初始化组件 * @author user * */ @Component("initComponet") public class InitComponet implementsApplicationContextAware,ServletContextListener...

详细>>