0510

昨天的源码问题找到了,a错了

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>html</title>
	<style type="text/css">
	    *{margin: 0;padding: 0;}
		.a{width: 100%;height: 150px;background: url(images/Hydrangeas.jpg);}

		.a .b{width: 100%;height: 40px;background: rgba(255,255,255,0.5);}

		.a .b .c{width: 1000px;height: 40px;margin: 0 auto;}


		.a .b .c ul li{
			width: 60px;height: 38px;
			float: left;
			line-height: 40px; text-align: center;
			font-size: 16px;font-family: 微软雅黑;font-weight: 400;
			list-style: none;}
		.a .b .c ul li:hover{background: rgba(255,255,255,0.5);}

		.a .b .c ul li a{text-decoration: none;width: 60px;height: 38px;  display: block;color: #000;}

		.a .b .c ul li.exit{height: 60px;background: #444;border-radius: 0 0 15px 15px;}
		.a .b .c ul li.exit a{height: 60px; display: block;}
	</style>
</head>
<body>
	<div class="a">
		<div class="b">

			<div class="c">
                <a href="#" style="float: left;"><img src="images/logo.jpg" height="20" width="20" ></a>
				<ul style="float: left;">
					<li><a href="#">1</a> </li>
					<li><a href="#">2</a> </li>
					<li><a href="#">3</a> </li>
				</ul>

				<ul style="float: right;">
					<li><a href="#">4</a> </li>
					<li><a href="#">5</a> </li>
					<li class="exit"><a href="#">exit</a> </li>
				</ul>
				
			</div>
			
		</div>
		
	</div>

</body>
</html>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值