毕业设计(二十二)---主页大致布局 简画




<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>首页--长颈鹿博客</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<style type="text/css">
#wai {
	position: relative; margin : 0px auto;
	width: 950px;
	margin: 0px auto;
}

#ad1 {
	position: relative;
	margin: 0px auto;
	top: 27px;
	width: 950px;
	height: 100px;
	border: 1px solid red;
}

#daohang {
	position: relative;
	margin: 0px auto;
	top: 30px;
	width: 950px;
	height: 30px;
	border: 1px solid blue;
}

#neirongmokuai {
	position: absolute;
	top:165px;
	width: 950px;
	border: 1px solid black;
}

#neirongmokuai #fenlei{
	position: absolute;
	border: 1px solid blue;
	width:180px;
	height:400px;
}
#neirongmokuai #zhuanjia{
	position: absolute;
	border: 1px solid blue;
	top:405px;
	width:180px;
	height:400px;
}
#neirongmokuai #zhuneirong{
	position: absolute;
	border: 1px solid blue;
	left:182px;
	width:590px;
	height:2000px;
}
#neirongmokuai #remenwenzhang{
	position: absolute;
	border: 1px solid blue;
	height:800px;
	width:170px;
	right: 0px;
	}
</style>
</head>

<body>
	<jsp:include page="../public/head.jsp"></jsp:include>
	<div id="wai">
		<div id="ad1"></div>
		<div id="daohang"></div>
		<div id="neirongmokuai">
			<div id="fenlei">fenlei</div>
			<div id="zhuanjia">zhuanjia</div>
			<div id="zhuneirong">zhuneirong</div>
			<div id="remenwenzhang">remenwenzhang</div>
		</div>
	</div>


</body>
</html>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值