9.9日学习内容

今天学习制作了一个酒店预订的网页面,学的不是太熟悉,完成的一半

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>酒店预订</title>
		<link rel="stylesheet" href="">
		<style>
			*{
				/*重置样式*/
				margin: 0;
				padding: 0;
			}
			li,ul,ol{
				list-style: none;
			}
			a{
				text-decoration: none;
			}
			/*header样式*/
			.headerwrap{
				background-color: #008000;
			}
			.header{
				width:1200px;
				height:45px;
				margin:0 auto;
			}
			.header>p{
				float:right;
				color:#1A1A1A;
				font-size:14px;
				line-height: 45px;
			}
			.header p span{
				font-size:20px;
				margin-right:24px ;
			}
			.header img{
				margin-top:11px;
				float:left;
				margin-right: 12px;
		/*		vertical-align: top;*/
			}
			.header a{
				color:#fff;
				font-size:14px;
				margin:0px 16px 0px 16px;
			}
			
			/*nav样式*/
			.navwrap{
				background-color: #E8420A;
				border-bottom:1px solid black;
			}
			div.nav{
				height:80px;
				width:1200px;
				margin:0 auto;
				background-color: #000000;
				
			}
			.nav img{
				float: left;
				margin-top: 10px;
			}
			.nav p{
				float:right;
				line-height: 80px;
				font-family: "微软雅黑";
			}
			.nav p a{
				float:right;
				font-size:20px;
				color:#000000;
				margin-left:20px ;
				float:left;
				height:76px;
				text-align: center;
			}
			.nav a:last-child{
				margin-right:0px;
			}
			.nav a:hover{
				border-bottom: 4px solid #e8420a;
			}
			
			/*main演示*/
			div.bread{
				height:100px;
				width:900px;
				line-height: 100px;
			}
			div.mainwrap{
				border-bottom:1px solid black;
			}
			div.main{
				width:1200px;
				height:720px;
				margin:0 auto;
				background-color: #E8420A;
			}
		</style>
	</head>
	<body>
		<!-- header -->
		<div class="headerwrap">
			<div class="header">
					<p>
						<span>
							<img src="../img/logo.png" alt="">
							400-808-8682
						</span>
						<a href="">请登录</a>|
						<a href="">注册</a>
					</p>
			</div>	
		</div>
		
		<!-- nav -->
		<div class="navwrap">
			<div class="nav">
				<img src="../img/img.png"/>
				<p>
					<a href="">首页</a>
					<a href="">目的地</a>
					<a href="">亲子游学</a>
					<a href="">酒店预订</a>
					<a href="">车辆接送</a>
					<a href="">签证代办</a>
					<a href="">精彩瞬间</a>
				</p>
			</div>
		</div>
		
		<!-- main -->
		<div class="mainwrap">
			<div class="main">
				<div class="bread">
					<a href="">首页</a>>
					<a href="">酒店预订</a>>
					<a href="">曼谷悦榕庄酒店(酒店名称)</a>
				</div>
			</div>
		</div>
	</body>
<ml>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值