2025年赶快回家网静态页面HTML+CSS

赶快回家网静态页面HTML+CSS下边是代码 HTML meta charset utf 8 title title

大家好,我是讯享网,很高兴认识大家。


讯享网

下边是代码

HTML

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/lvx.css"/>
	</head>
	<body>
		<div class="top">
			<div class="content">
				<ul class="content-left">
					<li>登录</li>
					<li>免费注册</li>
				</ul>
				<ul class="content-right">
					<li>个人中心<span>|</span></li>
					<li>使用须知<span>|</span></li>
					<li>收藏夹<span>|</span></li>
					<li>货物快运<span>|</span></li>
					<li>联系我们</li>
				</ul>
			</div>

		</div>
		<div class="nav">
			<div class="nav-top">
				<div class="logo"></div>
				<ul class="nav-left">
					<li>汽车票</li>
					<li>时刻表</li>
					<li>汽车站</li>
					<li>酒店预订</li>
					<li>旅客问答</li>
				</ul>
			</div>

		</div>
		<div class="banner">
			<img src="images/banner.jpg" style="width: 1000px;">
		</div>
		<div class="guild">
			<table border="" cellspacing="" cellpadding="">
				<tr>
					<td>
						01月27日
						<p>周三</p>
					</td>
					<td>
						01月28日
						<p>周四</p>
					</td>
					<td>
						01月29日
						<p>周五</p>
					</td>
					<td>
						01月30日
						<p>周六</p>
					</td>
					<td>
						01月31日
						<p>周日</p>
					</td>
					<td>
						02月1日
						<p>周一</p>
					</td>
					<td>
						02月02日
						<p>周二</p>
					</td>
				</tr>
			</table>
		</div>
		<div class="status">
			<table border="0" cellspacing="" cellpadding="">
				<tr>
					<td>出发时间</td>
					<td>始发站/首发站</td>
					<td>计划车型</td>
					<td>票价</td>
					<td>购票</td>
				</tr>
				<tr>
					<td class="sj">6:30</td>
					<td>
						<p>
							<span class="msg-s">始</span>
							省汽车客运站
						</p>
						<p>
							<span class="msg-z">终</span>
							省汽车客运站
						</p>
					</td>
					<td>空调坐席</td>
					<td>¥<span class="qian">100</span></td>
					<td>
						<input class="gop" type="button" name="" id="" value="购票" />
					</td>
				</tr>
				<tr>
					<td class="sj">6:30</td>
					<td>
						<p>
							<span class="msg-s">始</span>
							省汽车客运站
						</p>
						<p>
							<span class="msg-z">终</span>
							省汽车客运站
						</p>
					</td>
					<td>空调坐席</td>
					<td>¥<span class="qian">100</span></td>
					<td>
						<input class="gop" type="button" name="" id="" value="购票" />
					</td>
				</tr>
				<tr>
					<td class="sj">6:30</td>
					<td>
						<p>
							<span class="msg-s">始</span>
							省汽车客运站
						</p>
						<p>
							<span class="msg-z">终</span>
							省汽车客运站
						</p>
					</td>
					<td>空调坐席</td>
					<td>¥<span class="qian">100</span></td>
					<td>
						<input class="gop" type="button" name="" id="" value="购票" />
					</td>
				</tr>
				<tr>
					<td class="sj">6:30</td>
					<td>
						<p>
							<span class="msg-s">始</span>
							省汽车客运站
						</p>
						<p>
							<span class="msg-z">终</span>
							省汽车客运站
						</p>
					</td>
					<td>空调坐席</td>
					<td>¥<span class="qian">100</span></td>
					<td>
						<input class="gop" type="button" name="" id="" value="购票" />
					</td>
				</tr>
			</table>
		</div>
		<div class="footer">
			<p>赶快回家版权所有2000-2016京ICP备08001421号  京公网安备110108007702</p>
		</div>
	</body>
</html>

讯享网

CSS

讯享网/* 公用样式 */ * {padding: 0px;margin: 0px; text-decoration: none;} li {list-style: none;} /* 头部 */ .top { background: #F7F7F7; height: 22px; } .content { width: 1000px; height: 22px; margin: auto; font-size: 12px; color: #; } .content-left { float: left; } .content-left>li { float: left; height: 22px; line-height: 22px; padding: 0px 10px; } .content-right { float: right; } .content-right>li { height: 22px; line-height: 22px; float: left; } .content-right>li>span { padding: 0px 10px; } /* 导航 */ .nav { border-bottom: 4px solid #D2D2D2; height: 70px; } .nav-top { width: 1000px; height: 70px; margin: auto; } .nav-top>.logo { float: left; width: 158px; height: 70px; background: url(../images/logo.jpg)no-repeat 0px 8px; } .nav-top>.nav-left { float: left; } .nav-top>.nav-left>li { height: 70px; line-height: 70px; float: left; padding: 0px 48px; color: #997F73; font-size: 14px; } .nav-top>.nav-left>li:hover { border-bottom: 4px solid #FF7600; } /* 中间图片 */ .banner { text-align: center; } /* 日期 */ .guild>table { background: #FFF8F2; width: 1000px; margin: auto; margin-top: 26px; border-collapse: collapse; } .guild>table td { height: 72px; text-align: center; border: 1px solid #FFC393; } /* 出发时间表 */ .status { width: 1000px; margin: 20px auto; } .status table { width: 1000px; height: 456px; border-collapse: collapse; text-align: center; font-size: 14px; } .status .msg-s { display: inline-block; width: 22px; background: #FF7200; } .status .msg-z { display: inline-block; width: 22px; background: #0065FF; } .status .sj { font-size: 26px; color: #FF7E33; } .status .qian { font-size: 26px; color: #FF7E33; } .status .gop { width: 150px; height: 42px; background: #FF7E33; border: none; color: white; } .status table tr:nth-child(1) { /* width: 1000px; */ height: 30px; background: #F8F8F8; } .status table tr:nth-child(2n) { background-color: #FFE8C8; } .status table tr:nth-child(3) { background-color: #FFF5E6; } .status table tr:nth-child(5) { background-color: #FFF5E6; } /* 页尾*/ .footer { height: 80px; background: url(../images/footer_bg.png)repeat-x; line-height: 80px; } .footer p { margin: 0px auto; width: 1000px; text-align: center; } 

小讯
上一篇 2025-01-18 17:47
下一篇 2025-03-23 08:31

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/106638.html