前言:
w:我接着写,把永远爱你写进诗的结尾。
y:就这?
w:想关上这城市所有灯光,黑夜中专心闻你的发香。
y:就这?
w:你的倩影摇摇曳曳,便成了我的明月。
y:就这?
w:杀手锏登场!!!进一步完善商品详情页面,如下。
进一步完善商品详情页面:
完整页面:
关于如何用谷歌浏览器长截图:https://blog.csdn.net/weixin_43912621/article/details/105205860.
shoppingDetail.html:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>漫步时尚广场-商品详情</title>
<link href="css/detail.css" rel="stylesheet" type="text/css">
<!--解决部分浏览器对HTML5不支持-->
<!--[if IE]>
<script>
document.createElement("header");
document.createElement("footer");
document.createElement("nav");
document.createElement("article");
document.createElement("section");
</script>
<![endif]-->
</head>
<body>
<article id="main">
<!--顶部区域 start-->
<header class="top_bg">
<div class="top_content">
<div class="floatl"><img src="images/star.jpg">收藏 | HI,欢迎来订购 !<a href="#" class="orange">[请登录]</a> <a href="#" class="orange"> [免费注册]</a></div>
<div class="floatr">客户服务<img src="images/arrow.gif"> 网站导航<img src="images/arrow.gif"> <span class="droparrow"><span class="shopcart"></span>我的购物车<span class="orange">0</span>件<img src="images/arrow.gif" /></span></div>
</div>
</header>
<!--顶部区域 end-->
<!--logo和banner start-->
<div class="logo"><img src="images/logo.jpg" ><img src="images/banner.jpg" ></div>
<!--logo和banner end-->
<!--菜单导航 start-->
<nav class="nav_bg">
<div class="nav_content">
<ul class="menu_nav">
<li ><a href="shoppingIndex.html" class="white">首页</a></li>
<li><a href="shoppingShow.html" class="white">最新上架</a></li>
<li>品牌活动</li>
<li>原厂直供</li>
<li>团购</li>
<li>限时抢购</li>
<li>促销打折</li>
</ul>
</div>
</nav>
<!--菜单导航 end-->
<!--中间部分 start-->
<section>
<div class="main">
<nav>
<ul class="menu">
<li><span class="title">女装</span></li>
<li><span class="red_dot"></span><a href="#" >上衣</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >下装</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >连衣裙</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >内衣</a><span class="right_arrow"></span></li>
<li><span class="title">男装</span></li>
<li><span class="red_dot"></span><a href="#" >T恤</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >短裤</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >衬衫</a><span class="right_arrow"></span></li>
<li><span class="title">童装</span></li>
<li><span class="red_dot"></span><a href="#" >上衣</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >裤子</a><span class="right_arrow"></span></li>
<li><span class="title">运动</span></li>
<li><span class="red_dot"></span><a href="#" >运动裤</a><span class="right_arrow"></span></li>
<li><span class="red_dot"></span><a href="#" >跑步鞋</a><span class="right_arrow"></span></li>
</ul>
</nav>
<!--购物分类end-->
<!--中间区 start-->
<div class="middle">
<h1 class="pic_title">商品详情</h1>
<div class="left_pic">
<div id="box">
<img src="images/showdetail/dd1.jpg" width="400" height="400" id="showGoodsPicture">
<div id="shade"></div>
</div>
<ul class="small_piclist" id="goodsList">
<li><img src="images/showdetail/dd1.jpg" onclick="changeGoodsImage(this)"></li>
<li><img src="images/showdetail/dd2.jpg" onclick="changeGoodsImage(this)"></li>
<li><img src="images/showdetail/dd3.jpg" onclick="changeGoodsImage(this)"></li>
<li><img src="images/showdetail/dd4.jpg" onclick="changeGoodsImage(this)"></li>
<li><img src="images/showdetail/dd5.jpg" onclick="changeGoodsImage(this)"></li>
</ul>
<!--canvas不能通过样式设置大小,只能通过属性设置-->
<canvas id="canvas" width="400px" height="400px"></canvas>
</div>
<div class="right">
<h1 class="font16">冬季新款牛仔外套女中长款加厚<br/>
女冬装连帽毛领加绒牛仔棉衣女风衣</h1>
<img src="images/showdetail/pic_mess.jpg"> </div>
<div class="clear"></div>
<ul class="tab" id="goodsTabs">
<li class="tab_active" onClick="changeGoodsInfo(this)">商品详情</li>
<li onClick="changeGoodsInfo(this)">商品评价</li>
<li onClick="changeGoodsInfo(this)">成交记录</li>
</ul>
<article class="tab_content1">
<ul class="particulars">
<li title=" 修身">服装版型: 修身</li>
<li title=" 甜美">风格: 甜美</li>
<li title=" 瑞丽">甜美: 瑞丽</li>
<li title=" 中长款">衣长: 中长款</li>
<li title=" 长袖">袖长:长袖</li>
<li title=" 常规">袖型: 常规</li>
<li title=" 带帽">领型:带帽</li>
<li title=" 拉链">衣门襟:拉链</li>
<li title=" 纯色">图案: 纯色</li>
<li title=" 81%(含)-90%(含)">成分含量:81%(含)-90%(含)</li>
<li title=" 棉">质地: 棉</li>
<li title=" 25-29周岁">适用年龄: 25-29周岁</li>
<li title=" 2015年冬季">年份季节:2015年冬季</li>
<li title=" 深蓝色 蓝色">颜色分类: 深蓝色 蓝色</li>
<li title=" M L XL 2XL">尺码:M L XL 2XL</li>
</ul>
<section> <img src="images/showdetail/detail1.jpg"> <img src="images/showdetail/detail2.jpg"> <img src="images/showdetail/detail3.jpg" class="img_border"> <img src="images/showdetail/detail4.jpg" class="img_border"> <img src="images/showdetail/detail5.jpg" class="img_border"><img src="images/showdetail/detail6.jpg" class="img_border"></section>
</article>
<article class="tab_content2 none"><img src="images/showdetail/pinglun.jpg"/></article>
<article class="tab_content3 none">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>买家</th>
<th>淘宝价</th>
<th>数量</th>
<th>付款时间</th>
<th>款式和型号</th>
</tr>
</thead>
<tbody>
<tr>
<td> a**男 (匿名) </td>
<td><em class="price2">¥198.00</em></td>
<td>1</td>
<td> 2015-07-31 20:08:39 </td>
<td><div>
<p>颜色分类:深蓝色[胸前格纹]</p>
<p>尺码:L</p>
</div></td>
</tr>
<tr>
<td> 闺**你 (匿名) </td>
<td><em class="price2">¥198.00</em></td>
<td>1</td>
<td> 2015-07-27 14:05:17 </td>
<td><div>
<p>颜色分类:蓝色[口袋格纹]</p>
<p>尺码:L</p>
</div></td>
</tr>
<tr>
<td> w**0 (匿名)</td>
<td><em class="price2">¥198.00</em></td>
<td>1</td>
<td> 2015-07-23 12:33:54 </td>
<td><div>
<p>颜色分类:深蓝色[胸前格纹]</p>
<p>尺码:L</p>
</div></td>
</tr>
<tr>
<td> a**u (匿名)</td>
<td><em class="price2">¥198.00</em></td>
<td>1</td>
<td> 2015-07-23 12:04:19 </td>
<td><div>
<p>颜色分类:蓝色[口袋格纹]</p>
<p>尺码:L</p>
</div></td>
</tr>
<tr>
<td> 落**1 (匿名) </td>
<td><em class="price2">¥198.00</em></td>
<td>1</td>
<td> 2015-07-22 21:39:27 </td>
<td><div>
<p>颜色分类:深蓝色[胸前格纹]</p>
<p>尺码:L</p>
</div></td>
</tr>
<tr>
<td> 6**s (匿名) </td>
<td><em class="price2">¥198.00</em></td>
<td>1</td>
<td> 2015-07-12 15:00:30 </td>
<td><div>
<p>颜色分类:蓝色[口袋格纹]</p>
<p>尺码:L</p>
</div></td>
</tr>
</tbody>
</table>
</article>
<!--品牌活动-->
<article>
<h1 class="pic_title">看了又看</h1>
<ul class="pic_list4">
<li><img src="images/showdetail/ss1.jpg" title="2015新款条纹显瘦V领短袖露背宽松连身裤"/>
<p>2015新款条纹显瘦V领短袖露背宽松连身裤</p>
</li>
<li><img src="images/showdetail/ss2.jpg" title="2015女士新款百搭休闲阔腿裤高腰红色短裤"/>
<p>2015女士新款百搭休闲阔腿裤高腰红色短裤</p>
</li>
<li><img src="images/showdetail/ss3.jpg" title="女版街头个性休闲口袋纯色卫衣吊带哈伦裤"/>
<p>女版街头个性休闲口袋纯色卫衣吊带哈伦裤</p>
</li>
<li><img src="images/showdetail/ss4.jpg" title="韩版简约百搭五分袖喇叭袖圆领打底短袖"/>
<p>韩版简约百搭五分袖喇叭袖圆领打底短袖</p>
</li>
<li><img src="images/showdetail/ss5.jpg" title="卡玛娅秋装新款女装 圆领纯棉上衣棉T恤" />
<p>卡玛娅秋装新款女装 圆领纯棉上衣棉T恤</p>
</li>
</ul>
<article>
</div>
<!--中间区 end-->
<!--右侧热门推荐 start-->
<aside class="right_nav">
<h1 class="notice_title"> 热门推荐 </h1>
<ul class="pic_list3">
<ul>
<li><a href="#"><img src="images/shopshow/s1.jpg" /></a>
<p class="price2">¥56.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s2.jpg" /></a>
<p class="price2">¥97.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s3.jpg" /></a>
<p class="price2">¥89.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s4.jpg" /></a>
<p class="price2">¥69.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s5.jpg" /></a>
<p class="price2">¥89.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s6.jpg" /></a>
<p class="price2">¥93.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s7.jpg" /></a>
<p class="price2">¥58.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s8.jpg" /></a>
<p class="price2">¥69.00元</p>
</li>
<li><a href="#"><img src="images/shopshow/s9.jpg" /></a>
<p class="price2">¥78.00元</p>
</li>
</ul>
</ul>
</aside>
</div>
</section>
<!--右侧热门推荐 end-->
<!--中间部分 end-->
<footer>
<div class="clear"></div>
<div class="foot">
<div class="foot_title">
<ul class="foot_pic">
<li><img src="images/gray1.jpg" ></li>
<li><img src="images/gray2.jpg" ></li>
<li><img src="images/gray3.jpg" ></li>
<li><img src="images/gray4.jpg" ></li>
<li><img src="images/gray5.jpg" ></li>
</ul>
</div>
<ul class="foot_list">
<li>
<div class="floatl">
<p class="red1"></p>
<p class="line1"></p>
</div>
<ul class="floatl">
<li class="font16 padding-bottom">新手指导</li>
<li>用户注册</li>
<li>电话下单</li>
<li>购物流程</li>
<li>购物保障</li>
<li>服务协议</li>
</ul>
</li>
<li>
<div class="floatl">
<p class="red2"></p>
<p class="line1"></p>
</div>
<ul class="floatl">
<li class="font16 padding-bottom">支付方式</li>
<li>货到付款</li>
<li>商城卡支付</li>
<li>支付宝、网银支付</li>
<li>优惠券抵用</li>
</ul>
</li>
<li>
<div class="floatl">
<p class="red3"></p>
<p class="line1"></p>
</div>
<ul class="floatl">
<li class="font16 padding-bottom">配送方式</li>
<li>闪电发货</li>
<li>满百包邮</li>
<li>配送范围及时间</li>
<li>商品验收及签收</li>
<li>服务协议</li>
</ul>
</li>
<li>
<div class="floatl">
<p class="red3"></p>
<p class="line1"></p>
</div>
<ul class="floatl">
<li class="font16 padding-bottom">售后服务</li>
<li>退换货协议</li>
<li>关于发票</li>
<li>退换货流程</li>
<li>退换货运费</li>
</ul>
</li>
<li>
<div class="floatl">
<p class="red3"></p>
<p class="line1"></p>
</div>
<ul class="floatl">
<li class="font16 padding-bottom">关于帐号</li>
<li>修改个人信息</li>
<li>修改密码</li>
<li>找回密码</li>
</ul>
</li>
<li>
<div class="floatl">
<p class="red3"></p>
<p class="line1"></p>
</div>
<ul class="floatl">
<li class="font16 padding-bottom">优惠活动</li>
<li>竞拍须知</li>
<li>抢购须知</li>
</ul>
</li>
</ul>
<div class="clear"></div>
<div class="foot_line"></div>
<p align="center" class="padding-top">Copyright 2015-2020 Q- Walking Fashion E&S 漫步时尚广场(QST教育)版权所有<Br/>
中国青岛 高新区河东路8888号 青软教育集团 咨询热线:400-658-0166 400-658-1022 </p>
<p align="center"><img src="images/foot_pic.jpg"></p>
<div class="clear"></div>
</div>
</footer>
</article>
</body>
</html>
detail.css:
@charset "utf-8";
body{
font-size:12px;
font-family:microsoft yahei;
margin:0;
color:#000;
}
*{
padding:0;
margin:0;
}
li,ul{
list-style:none;
}
a{
color:#000;
text-decoration:none;
}
a:hover{
color:#ce2626;
text-decoration:none;
}
img{
border:none;
}
.font14{
font-size:14px;
font-weight:700;
}
.font16{
font-size:16px;
font-weight:700;
}
.clear{
clear:both;
}
.floatl{
float:left;
}
.floatr{
float:right;
}
.main{
margin:10px auto;
width:1200px;
}
/*头部*/
.top_bg{
border-bottom:1px solid #ccc;
font-size:12px;
font-family:"宋体";
line-height:30px;
background:#f7f7f7;
height:30px;
line-height:30px;
}
.top_content{
width:1200px;
margin:0 auto;
}
.logo{
margin:5px auto;
width:1200px;
}
.nav_bg{
background:#ce2626;
width:100%;
color:#fff;
}
.nav_content{
width:1200px;
margin:0 auto;
height:40px;
line-height:40px;
}
.menu_nav{
width:700px;
float:left;
margin-left:200px;
}
.menu_nav li{
font-size:16px;
font-weight:700;
color:#fff;
width:80px;
float:left;
text-align:center;
margin-right:15px;
}
.orange{
font-weight:700;
color:#f60;
}
.nav_active{
background:#b12121;
}
a.white{
color:#fff;text-decoration:none;
}
a.white:hover{
color:#ff0;
text-decoration:none;
}
.shopcart{
background:url(../images/shoppingcart.png) no-repeat;
width:16px;
height:16px;
display:inline-block;
float:left;
margin:5px 5px 0 0;
}
/*左侧导航*/
.right_arrow{
background:url(../images/arrow_r.jpg) no-repeat;
width:20px;
height:20px;
display:inline-block;
float:right;
}
.menu{
width:220px;
float:left;
border:1px solid #e5e4e1;
}
.menu li{
float:left;
width:220px;
border-bottom:1px solid #e5e4e1;
height:33px;
line-height:33px;
background:#fafafa;
font-size:14px;
text-align:left;
}
.menu li .title{
height:33px;
background:#e5e4e1;
font-size:15px;
text-indent:20px;
text-align:left;
width:100%;
line-height:33px;
display:inline-block;
}
.red_dot{
font-size:25px;
margin-right:10px;
width:8px;
height:8px;
display:inline-block;
background:url(../images/red_dot.gif) no-repeat;
margin-left:10px;
}
/*中间部分*/
.middle{
float:left;
width:690px;
}
.pic_title{
background:#ff9c01;
line-height:35px;
font-size:14px;
text-indent:20px;
text-align:left;
width:680px;
float:left;
color:#fff;
margin:0 10px 10px;
}
/*右侧公告*/
.right_nav{
width:280px;
border:1px solid #eee;
float:right;
}
.notice_title{
background:#eee;
line-height:35px;
font-size:14px;
text-indent:20px;
text-align:left;
}
/*foot*/
.foot{
width:100%;
background:#efefef;
height:310px;
margin-top:15px;
}
.foot_title{
background:#6a6665;
width:100%;
height:40px;
padding-top:8px;
}
.foot_pic{
margin:0 auto;
width:1200px;
}
.foot_pic li{
width:210px;
float:left;
text-align:center;
}
.padding-bottom{
padding-bottom:10px;
}
.padding-top{
padding-top:10px;
}
.foot_line{
border-bottom:1px solid #ccc;
font-size:12px;
margin-top:10px;
}
.line1{
background:url(../images/line1.jpg) no-repeat;
width:20px;
height:100px;
display:inline-block;
}
.red1{
background:url(../images/red1.jpg) no-repeat;
width:35px;
height:31px;
display:block;
}
.red2{
background:url(../images/red2.jpg) no-repeat;
width:35px;
height:31px;
display:block;
}
.red3{
background:url(../images/red3.jpg) no-repeat;
width:35px;
height:31px;
display:block;
}
.foot_list>li{
float:left;
width:170px;
}
.foot_list{
width:1100px;
margin:0 auto;
padding-top:20px;
}
.foot_list li ul{
padding-left:10px;
}
.pic_list3 li{
margin:5px;
float:left;
width:83px;
}
.pic_list3 li img{
border:1px solid #ccc;
}
.pic_list4{
margin-left:18px;
}
.pic_list4 li{
margin:5px;
float:left;
width:123px;
}
.pic_list4 li img{
border:1px solid #ccc;
}
.small_piclist li{
float:left;
margin-right:10px;
}
.small_piclist li img{
width:70px;
height:70px;
border:1px solid #ccc;
}
.left_pic{
margin-left:10px;
float:left;
}
.tab{
margin:10px;
border-bottom:1px solid #ccc;
height:35px;line-height:35px;
}
.tab li{
width:90px;
float:left;
font-size:14px;
text-align:center;
}
.tab_active{
border-top:3px solid red;
width:100px;
font-weight:700;
background:#f2f2f2;
height:33px;
border-right:1px solid #ccc;
border-left:1px solid #ccc;
}
.none{
display:none;
}
.particulars li{
display:inline;
float:left;
height:24px;
line-height:24px;
margin-right:20px;
overflow:hidden;
text-indent:5px;
text-overflow:ellipsis;
white-space:nowrap;
width:206px;
}
.price2{
font-size:12px;
font-weight:700;
color:red;
text-align:center;
}
.tab_content3{
width:670px;
margin:0 auto;
}
.tab_content3 table th{
height:30px;
background:#f2f2f2;
text-align:center;
}
.tab_content3 table td{
text-align:center;
height:40px;
border-bottom:1px dashed #ccc;
}
.right{
float:left;
}
article,footer,header,nav,section{
display:block;
}
.tab_content1 section{
text-align:center;
width:700px;
}
.img_border{
border:1px solid #ccc
margin-top:10px;
}
/* 放大镜部分 */
.left_pic{
position:relative;
margin-left:10px;
float:left
}
#box{
position: relative;
margin-bottom: 10px;
width: 400px;
height: 400px;
}
#shade{
position: absolute;
top: 0px;
z-index: 1000;
width: 200px;
height: 200px;
filter: alpha(Opacity=70); /*IE设置透明度*/
-moz-opacity: 0.7; /*火狐设置透明度*/
opacity: 0.7; /*chrome设置透明度*/
background-color:#FFC;
display: none;
}
#canvas{
position: absolute;
left: 410px;
top: 0px;
display: none;
background-color:wheat;
display: none;
}
通过HTML5表格对添加商品页面进行重构:
预览如下:
addgoods.html:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>添加商品页面-后台管理系统</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<link href="css/add.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="place"><span>位置:</span>
<ul class="placeul">
<li><a href="main.html" target="_parent">首页</a></li>
<li><a href="#">添加商品</a></li>
</ul>
</div>
<div class="formbody">
<div class="usual">
<div class="tabson">
<form id="addgoodsForm" method="post" action="http://www.itshixun.com">
<ul class="forminfo">
<li>
<label>商品缩略图<b>*</b></label>
<input name="thumbImage" id="thumbImage" type="file" multiple="multiple"/>
</li>
<li>
<label>商品名称<b>*</b></label>
<input name="goodsName" id="goodsName" type="text" class="dfinput" value="请填写商品名称"
required="required" style="width:500px;"/>
</li>
<li>
<label>商品类别<b>*</b></label>
<div class="vocation">
<select class="select3" name="goodsType" id="goodsType">
<option>男装</option>
<option>女装</option>
<option>童装</option>
<option>运动</option>
<option>其他</option>
</select>
</div>
</li>
<li>
<label>商品单价<b>*</b></label>
<input name="unitPrice" id="unitPrice" class="dfinput" type="number" required="required" style="width:100px;"/>元 </li>
<li>
<label>团购价<b>*</b></label>
<input name="groupPrice" id="groupPrice" class="dfinput" type="number" required="required" style="width:100px;"/>元 </li>
<li>
<label>商品数量<b>*</b></label>
<input name="goodsNumber" id="goodsNumber" type="number" class="dfinput" required="required" style="width:100px;"/>
件 </li>
<li>
<label>发布日期<b>*</b></label>
<input name="publishDate" id="publishDate" type="date" class="dfinput" required="required" style="width:120px;"/>
</li>
<li>
<label>是否审核<b>*</b></label>
<div class="vocation">
<select class="select3" name="isChecked" id="isChecked">
<option>已审核</option>
<option>未审核</option>
</select>
</div>
</li>
<li>
<label>商品描述<b>*</b></label>
<textarea name="goodsDescription" rows="3" id="content" style="width:500px;height:100px;"></textarea>
</li>
<li> <label> </label>
<input type="submit" class="btn" id="btnPublish" value="马上发布"/>
</li>
</ul>
</form>
</div>
</div>
</div>
</body>
</html>
add.css:
@charset "utf-8";
/* CSS Document */
.place{
height:40px;
background:url(../images/righttop.gif) repeat-x;
}
.place span{
line-height:40px;
font-weight:bold;
float:left;
margin-left:12px;
}
.placeul li{
float:left;
line-height:40px;
padding-left:7px;
padding-right:12px;
background:url(../images/rlist.gif) no-repeat right;
}
.placeul li:last-child{
background:none;
}
.rightinfo{
padding:8px;
}
.tools{
clear:both;
height:35px;
margin-bottom:8px;
}
.toolbar{
float:right;
}
.toolbar li{
background:url(../images/toolbg.gif) repeat-x;
line-height:33px;
height:33px;
border:solid 1px #d3dbde;
float:left;
padding-right:10px;
margin-right:5px;
border-radius: 3px;
cursor:pointer;
}
.toolbar li span{
float:left;
margin-left:10px;
margin-right:5px;
margin-top:5px;
}
.toolbar1{
float:right;
}
.toolbar1 li{
background:url(../images/toolbg.gif) repeat-x;
line-height:33px;
height:33px;
border:solid 1px #d3dbde;
float:left;
padding-right:10px;
margin-left:5px;
border-radius: 3px;
}
.toolbar1 li span{
float:left;
margin-left:10px;
margin-right:5px;
margin-top:5px;
}
select{
background:url(../images/inputbg.gif) repeat-x;
height:32px;
border-top:solid 1px #a7b5bc;
border-left:solid 1px #a7b5bc;
border-right:solid 1px #ced9df;
border-bottom:solid 1px #ced9df;
padding:5px;
}
.sort{
padding-left:3px;
}
.table1 tr td{
padding:3px;
}
.table1 tr td b{
color:red;
margin-left:5px;
}
/*form*/
.formbody{
padding:10px 18px;
}
.formtitle{
border-bottom:solid 1px #d0dee5;
line-height:35px;
position:relative;
height:35px;
margin-bottom:28px;
}
.formtitle span{
font-weight:bold;
font-size:14px;
border-bottom:solid 3px #66c9f3;
float:left;
position:absolute;
z-index:100;
bottom:-1px;
padding:0 3px;
height:30px;
line-height:30px;
}
.forminfo{
padding-left:23px;
}
.forminfo li{
margin-bottom:13px;
clear:both;
}
.forminfo li label{
width:86px;
line-height:25px;
display:block;
float:left;
}
.forminfo li i{
color:#7f7f7f;
padding-left:20px;
font-style:normal;
}
.forminfo li b{
color:red;
margin-left:5px;
}
.forminfo li cite{
display:block;
padding-top:10px;
}
.dfinput{
width:345px;
height:25px;
line-height:25px;
border-top:solid 1px #a7b5bc;
border-left:solid 1px #a7b5bc;
border-right:solid 1px #ced9df;
border-bottom:solid 1px #ced9df;
text-indent:10px;
}
.textinput{
border-top:solid 1px #a7b5bc;
border-left:solid 1px #a7b5bc;
border-right:solid 1px #ced9df;
border-bottom:solid 1px #ced9df;
background:url(../images/inputbg.gif) repeat-x;
padding:10px;
width:504px;
height:135px;
line-height:20px;
overflow:hidden;
}
.btn{
width:137px;
height:35px;
background:url(../images/btnbg.png) no-repeat;
font-size:14px;
font-weight:bold;
color:#fff;
cursor:pointer;
}
layout.css:
@charset "utf-8";
/* CSS Document */
*{
font-size:9pt;
border:0;
margin:0;
padding:0;
}
body{
font-family:'微软雅黑';
margin:0 auto;
}
ul,li{
display:block;
margin:0;padding:0;
list-style:none;
}
img{
border:0;
}
.date_text{
font-size:12px;
float:right;
line-height:45px;
padding-right:20px;
}
dl,dt,dd{
margin:0;
padding:0;
display:block;
}
a,a:focus{
text-decoration:none;
color:#000;
outline:none;
}
a:hover{
color:#00a4ac;
text-decoration:none;
}
table{
border-collapse:collapse;
border-spacing: 0;
}
cite{
font-style:normal;
}
h2{
font-weight:normal;
}
.floatl{
float:left;
}
.floatr{
float:right;
}
input{
font-family:Tahoma,'微软雅黑','宋体';
}
.orange14{
font-size:14px;
font-weight:bold;
color:orange;
}
textarea{
border:1px solid #a7b5bc;
width:500px;
height:60px;
}
后记:愿有人能陪你颠沛流离
世上安得双全法,不负AC不负卿;
愿风裁尽尘中沙,与君咫尺共天涯;
弱而不该凌云志,穷且不坠青云志;
我要成为你的盖世英雄。
所有人都不相信,带着怀疑和猜忌;
而你坚持着本心,一路披荆又斩棘;
不管闲言和碎语,选择相信了自己;
这才是成为英雄的路!!!