console
<html xmlns="http://www.w3.org/1999/xhtml"><head><style type="text/css">.mF_fancy_boxID *{margin:0;padding:0;border:0;list-style:none;}.mF_fancy_boxID{position:relative;width:1000px;height:310px;overflow:hidden;font:12px/1.5 Verdana;text-align:left;background:#fff;visibility:visible!important;}.mF_fancy_boxID .loading{position:absolute;z-index:9999;width:100%;height:100%;color:#666;text-align:center;padding-top:80.60000000000001px;background:#fff;}.mF_fancy_boxID .pic{position:relative;width:1000px;height:310px;overflow:hidden;}.mF_fancy_boxID .txt li{width:1000px;height:defaultpx!important;overflow:hidden;}</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>企业网站实例</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/setHomeSetFav.js"></script>
<script type="text/javascript" src="js/myfocus-2.0.1.min.js" charset="utf-8"></script>
<script type="text/javascript">
myFocus.set({
id:'boxID',
pattern:'mF_fancy',
time:3,
trigger:'click',
width:1000,
height:310,
txtHeight:'default'
});
</script><link rel="stylesheet" href="file:///Users/panjuanyi/Desktop/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/%E4%BB%A3%E7%A0%81/%E7%BB%83%E4%B9%A0/%E6%85%95%E8%AF%BE%E7%BD%91%E8%AF%BE%E7%A8%8B/%E7%BB%83%E4%B9%A0%E9%A2%98/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E7%BB%BC%E5%90%88%E5%B8%83%E5%B1%80%E5%AE%9E%E6%88%98/%E6%BA%90%E4%BB%A3%E7%A0%81/js/mf-pattern/mF_fancy.css"><script type="text/javascript" src="file:///Users/panjuanyi/Desktop/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/%E4%BB%A3%E7%A0%81/%E7%BB%83%E4%B9%A0/%E6%85%95%E8%AF%BE%E7%BD%91%E8%AF%BE%E7%A8%8B/%E7%BB%83%E4%B9%A0%E9%A2%98/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E7%BB%BC%E5%90%88%E5%B8%83%E5%B1%80%E5%AE%9E%E6%88%98/%E6%BA%90%E4%BB%A3%E7%A0%81/js/mf-pattern/mF_fancy.js"></script>
</head>
<body>
<div class="top">
<div class="top_content">
<ul>
<li><a href="#">联系我们</a></li>
<li><a onclick="AddFavorite(window.location,document.title)" href="javascript:void(0)">加入收藏</a></li>
<li><a onclick="SetHome(window.location)" href="javascript:void(0)">设为首页</a></li>
</ul>
</div>
</div>
<div class="wrap">
<div class="logo">
<div class="logo_left"><img src="images/logo.jpg"></div>
<div class="logo_right"><img src="images/tel.jpg" width="28" height="28">24小时服务热线:<span class="tel">123-456-7890</span></div>
</div>
<div class="nav">
<div class="nav_left"></div>
<div class="nav_mid">
<div class="nav_mid_left">
<ul>
<li><a href="#">首页</a></li>
<li><a href="list.html">关于慕课</a></li>
<li><a href="list.html">新闻动态</a></li>
<li><a href="list.html">课程中心</a></li>
<li><a href="list.html">在线课程</a></li>
<li><a href="list.html">人才招聘</a></li>
</ul>
</div>
<div class="nav_mid_right">
<form action="" method="post">
<input type="text" class="search_text">
</form>
</div>
</div>
<div class="nav_right"></div>
</div>
<div class="ad">
<div class="mF_fancy_wrap"><div id="boxID" class=" mF_fancy mF_fancy_boxID" style="height: 322px;">
<div class="pic">
<ul style="width: 250px; z-index: 4;">
<li style="display: none;"><a href="#"><img src="images/ad2.jpg" thumb="" alt="" text="详细描述2"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述3"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad4.jpg" thumb="" alt="" text="详细描述4"></a></li>
<li style="display: block;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述5"></a></li>
</ul>
<ul style="width: 500px; z-index: 3;">
<li style="display: none;"><a href="#"><img src="images/ad2.jpg" thumb="" alt="" text="详细描述2"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述3"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad4.jpg" thumb="" alt="" text="详细描述4"></a></li>
<li style="display: block;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述5"></a></li>
</ul>
<ul style="width: 750px; z-index: 2;">
<li style="display: none;"><a href="#"><img src="images/ad2.jpg" thumb="" alt="" text="详细描述2"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述3"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad4.jpg" thumb="" alt="" text="详细描述4"></a></li>
<li style="display: block;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述5"></a></li>
</ul>
<ul style="width: 1000px; z-index: 1;">
<li style="display: none;"><a href="#"><img src="images/ad2.jpg" thumb="" alt="" text="详细描述2"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述3"></a></li>
<li style="display: none;"><a href="#"><img src="images/ad4.jpg" thumb="" alt="" text="详细描述4"></a></li>
<li style="display: block;"><a href="#"><img src="images/ad3.jpg" thumb="" alt="" text="详细描述5"></a></li>
</ul>
</div>
<div class="txt"><ul><li class=""><a href="#"></a><p>详细描述2</p><b></b></li><li class=""><a href="#"></a><p>详细描述3</p><b></b></li><li class=""><a href="#"></a><p>详细描述4</p><b></b></li><li class="current"><a href="#"></a><p>详细描述5</p><b></b></li></ul></div><div class="num"><ul><li class="" style="width: 249px;"><a>1</a><b></b></li><li class="" style="width: 249px;"><a>2</a><b></b></li><li class="" style="width: 249px;"><a>3</a><b></b></li><li class="current" style="width: 250px;"><a>4</a><b></b></li></ul></div><div class="thumb"><ul><li style="width: 250px; top: 0px; visibility: hidden; display: none; opacity: 0;"><a><img src="file:///Users/panjuanyi/Desktop/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/%E4%BB%A3%E7%A0%81/%E7%BB%83%E4%B9%A0/%E6%85%95%E8%AF%BE%E7%BD%91%E8%AF%BE%E7%A8%8B/%E7%BB%83%E4%B9%A0%E9%A2%98/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E7%BB%BC%E5%90%88%E5%B8%83%E5%B1%80%E5%AE%9E%E6%88%98/%E6%BA%90%E4%BB%A3%E7%A0%81/images/ad2.jpg"></a><b></b></li><li style="width: 250px; top: 0px; visibility: hidden; display: none; opacity: 0;"><a><img src="file:///Users/panjuanyi/Desktop/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/%E4%BB%A3%E7%A0%81/%E7%BB%83%E4%B9%A0/%E6%85%95%E8%AF%BE%E7%BD%91%E8%AF%BE%E7%A8%8B/%E7%BB%83%E4%B9%A0%E9%A2%98/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E7%BB%BC%E5%90%88%E5%B8%83%E5%B1%80%E5%AE%9E%E6%88%98/%E6%BA%90%E4%BB%A3%E7%A0%81/images/ad3.jpg"></a><b></b></li><li class="" style="width: 250px; top: 0px; visibility: hidden; display: none; opacity: 0;"><a><img src="file:///Users/panjuanyi/Desktop/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/%E4%BB%A3%E7%A0%81/%E7%BB%83%E4%B9%A0/%E6%85%95%E8%AF%BE%E7%BD%91%E8%AF%BE%E7%A8%8B/%E7%BB%83%E4%B9%A0%E9%A2%98/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E7%BB%BC%E5%90%88%E5%B8%83%E5%B1%80%E5%AE%9E%E6%88%98/%E6%BA%90%E4%BB%A3%E7%A0%81/images/ad4.jpg"></a><b></b></li><li style="width: 250px; visibility: hidden; display: none; opacity: 0; top: 0px;"><a><img src="file:///Users/panjuanyi/Desktop/%E6%9C%AA%E5%91%BD%E5%90%8D%E6%96%87%E4%BB%B6%E5%A4%B9/%E4%BB%A3%E7%A0%81/%E7%BB%83%E4%B9%A0/%E6%85%95%E8%AF%BE%E7%BD%91%E8%AF%BE%E7%A8%8B/%E7%BB%83%E4%B9%A0%E9%A2%98/%E4%BC%81%E4%B8%9A%E7%BD%91%E7%AB%99%E7%BB%BC%E5%90%88%E5%B8%83%E5%B1%80%E5%AE%9E%E6%88%98/%E6%BA%90%E4%BB%A3%E7%A0%81/images/ad3.jpg"></a><b></b></li></ul></div><div class="prev"><a href="javascript:;">‹</a></div><div class="next"><a href="javascript:;">›</a></div></div></div>
</div>
<div class="main">
<div class="news">
<div class="title">
<h2 class="titile_left">新闻中心</h2>
<span class="title_right"><a href="#">More>></a></span> </div>
<div class="pic_news"> <img src="images/news.jpg" alt="520 慕女神喊你来表白" width="113" height="77">
<h2><a href="news.html">520 慕女神喊你来表白!</a></h2>
<p>活动时间:5月20日—5月25日<br>
获奖公布时间:5月26日<br>
<a href="news.html">Learn More>></a></p>
</div>
<div class="news_list">
<ul>
<li><span>2014-06-01</span> <a href="news.html">【慕客访谈 用户篇】“有为屌丝”在路上</a></li>
<li><span>2014-06-01</span><a href="news.html">【有奖活动】给父亲的三行书信</a></li>
<li><span>2014-05-30</span><a href="news.html">《程序猿,请晒出你的童年》活动获奖公告</a></li>
<li><span>2014-05-28</span><a href="news.html" title="aa">【慕课访谈】破茧成蝶——美女程序员的蜕变史</a></li>
</ul>
</div>
</div>
<div class="products">
<div class="title">
<h2 class="titile_left">课程中心</h2>
<span class="title_right"><a href="#">More>></a></span> </div>
<div class="product_list"><img src="images/css.jpg" alt="CSS圆角进化论" width="158" height="106">
<h2><a href="news.html">CSS圆角进化论</a></h2>
<p> CSS圆角的实现,经历了三大发展阶段:背景图片方式、CSS2.0+HTML标签模拟、CSS3.0圆角属性)。本案例详细讲解每一种的实现方式,并对实现的优缺点进行对比分析。</p>
</div>
<div class="product_type">
<ul>
<li>PHP开发</li>
<li>前端开发</li>
<li>JAVA开发</li>
<li>Android开发</li>
</ul>
</div>
</div>
<div class="sidebar">
<div class="video">
<div class="title">
<h2 class="titile_left">媒体聚焦</h2>
<span class="title_right"><a href="#">More>></a></span> </div>
<p class="video_content">
<embed src="http://player.youku.com/player.php/sid/XNjkzMDE5MTUy/v.swf" allowfullscreen="true" quality="high" width="220" height="140" align="middle" allowscriptaccess="always" type="application/x-shockwave-flash">
</p>
</div>
<div class="service"> <img src="images/app.jpg"> </div>
</div>
</div>
</div>
<div class="copyright">
<div class="copyright_content">
<ul>
<li>关于
<ul>
<li>品牌故事</li>
<li>联系我们</li>
<li>加入我们</li>
<li>版权声明</li>
</ul>
</li>
<li>课程
<ul>
<li>PHP开发</li>
<li>前端开发</li>
<li>JAVA开发</li>
<li>Android开发</li>
</ul>
</li>
<li>关注
<ul>
<li>新浪微博</li>
<li>腾讯微博</li>
<li>企业微信</li>
<li>QQ空间</li>
</ul>
</li>
<li>留言
<ul>
<li>意见反馈</li>
<li>问题留言</li>
<li>媒体联络</li>
<li>在线客服</li>
</ul>
</li>
<li><img src="images/weixin.png" alt="微信关注" width="30" height="27">微信关注
<ul>
<li><img src="images/qrcode.jpg" alt="扫描关注慕课网官方微信" width="102" height="102"></li>
</ul>
</li>
</ul>
</div>
</div>
</body></html>
@charset "gb2312";
* {
padding: 0;
margin: 0;
font-size: 12px;
}
body {
background-color: #F5F5F5;
}
.wrap {
width: 1000px;
margin: 0 auto;
}
.top {
width: 100%;
height: 27px;
background: url(../images/top_bg.jpg) repeat-x;
}
.top_content {
width: 1000px;
margin: 0 auto;
line-height: 27px;
}
.top_content li {
float: right;
list-style-image: url(../images/arrow.jpg);
width: 70px;
}
.top_content a:link, .top_content a:visited {
color: #8E8E8E;
text-decoration: none;
}
.top_content a:hover, .top_content a:active {
color: #C00;
text-decoration: none;
}
.logo {
height: 80px;
background-color: #FFF;
}
.logo_left {
width: 375px;
float: left;
display: inline;
}
.logo_right {
width: 300px;
height: 28px;
margin-top: 30px;
float: right;
display: inline;
color: #8E8E8E;
}
.logo_right img {
vertical-align: middle;
margin-right: 10px;
}
.tel {
font-family: "微软雅黑";
font-size: 22px;
color: #C00;
}
.nav {
height: 40px;
}
.nav_left {
width: 10px;
background: url(../images/nav_left.jpg) no-repeat;
}
.nav_mid {
width: 980px;
background: url(../images/nav_bg.jpg) repeat-x;
line-height: 40px;
}
.nav_right {
width: 10px;
background: url(../images/nav_right.jpg) no-repeat;
}
.nav_left, .nav_mid, .nav_right {
height: 40px;
float: left;
display: inline;
}
.nav_mid li {
float: left;
list-style-type: none;
width: 100px;
font-family: "微软雅黑";
text-align: center;
}
.nav_mid a:link, .nav_mid a:visited {
font-size: 16px;
color: #FFF;
text-decoration: none;
}
.nav_mid a:hover, .nav_mid a:active {
font-size: 16px;
color: #FF0;
text-decoration: none;
}
.nav_mid_left {
width: 680px;
}
.nav_mid_right {
width: 300px;
}
.nav_mid_left, .nav_mid_right {
float: left;
display: inline;
}
.search_text {
width: 190px;
float: left;
height: 25px;
margin-top: 5px;
background: url(../images/search.jpg) no-repeat right center;
background-color: #FFF;
border: 1px solid #FFF;
padding-right: 25px;
}
.ad {
height: 320px;
margin-top: 5px;
overflow: hidden;
}
.main {
height: 250px;
margin-top: 5px;
background-color: #FFF;
}
.news {
width: 340px;
}
.products {
width: 410px;
margin: 0 7px;
}
.sidebar {
width: 230px;
float: left;
display: inline;
height: 250px;
}
.news, .products {
float: left;
display: inline;
height: 250px;
border: 1px solid #E8E8E8;
}
.title {
height: 35px;
border-bottom: 2px solid #E8E8E8;
font-size: 14px;
font-family: "微软雅黑";
line-height: 35px;
font-weight: bold;
color: #786F66;
}
.titile_left {
width: 70%;
float: left;
padding-left: 20px;
}
.title_right {
width: 20%;
float: right;
text-align: right;
}
.title_right a {
color: #999;
text-decoration: none;
font-family: "宋体";
font-size: 10px;
font-weight: normal;
padding-right: 10px;
}
.pic_news {
height: 80px;
margin-top: 10px;
line-height: 22px;
}
.pic_news img, .product_list img {
float: left;
margin: 0 5px;
}
.pic_news a, .product_list a {
color: #C00;
text-decoration: none;
}
.red {
color: #C00;
font-weight: bold;
}
.news_list {
margin-top: 20px;
}
.news_list li {
background: url(../images/list.jpg) no-repeat;
list-style-type: none;
padding-left: 10px;
margin: 8px;
border-bottom: 1px dotted #CCC;
height: 17px;
line-height: 17px;
}
.news_list span {
float: right;
color: #999;
}
.news_list a:link, .news_list a:visited {
text-decoration: none;
color: #000;
}
.news_list a:hover, .news_list a:active {
color: #F00;
text-decoration: none;
}
.product_list {
height: 120px;
margin-top: 10px;
line-height: 22px;
}
.product_type {
width: 372px;
height: 37px;
background: url(../images/product_type_bg.jpg) no-repeat;
margin: 20px auto;
}
.product_type li {
list-style-type: none;
float: left;
line-height: 37px;
text-align: center;
margin: 0 15px;
}
.video {
height: 185px;
margin-bottom: 10px;
border: 1px solid #E8E8E8;
}
.video_content {
height: 150px;
}
.service {
height: 55px;
border: 1px solid #E8E8E8;
}
.copyright {
clear: both;
width: 100%;
height: 200px;
background-color: #E8e8E8;
margin-top: 10px;
}
.copyright_content {
width: 1000px;
height: 180px;
margin: 0 auto;
padding-top: 20px;
}
.copyright_content li {
list-style-type: none;
float: left;
width: 200px;
text-align: center;
background: url(../images/line.png) no-repeat right center;
font-size: 18px;
font-family: "微软雅黑";
line-height: 30px;
color: #999;
}
.copyright_content li ul li {
font-size: 14px;
}
.n_main {
width: 1000px;
min-height: 320px;
_height: 320px;
margin: 10px auto;
}
.n_main_left {
width: 220px;
float: left;
}
.n_main_right {
width: 770px;
float: right;
background-color: #FFF;
}
.page
{
height:40px;
margin-top:10px;
text-align:center;
}
.page a
{
display:inline-block;
border: 1px solid #E8E8E8;
text-decoration:none;
margin:5px;
padding:5px 10px;;
}
.page a:link,.page a:visited
{
color:#000;
}
.page a:hover,.page a:active
{
color:#FFF;
background-color:#cc1b1b;
}
.n_main_left, .n_main_right {
min-height: 320px;
_height: 320px;
}
.n_main_l_title {
height: 35px;
background: url(../images/titile_bg.gif) repeat-x;
line-height: 35px;
padding-left: 20px;
font-size: 14px;
font-family: "微软雅黑";
color: #666;
}
.n_main_l_content {
height: 265px;
background: url(../images/content_bg.gif) repeat-x left top;
background-color: #FFF;
}
.n_main_l_content li {
list-style-type: none;
height: 30px;
line-height: 30px;
border-bottom: 1px dashed #E8E8E8;
padding-top: 3px;
}
.n_main_l_content li a {
color: #666;
text-decoration: none;
display: block;
background: url(../images/li_bg.gif) no-repeat left center;
padding-left: 15px;
}
.n_main_l_content li a:hover {
color: #009CDF;
text-decoration: none;
background: url(../images/li_bg2.gif) no-repeat left center;
background-color: #F2F2F2;
}
.n_main_r_title {
height: 35px;
line-height: 35px;
background: url(../images/type_bg.png) repeat-x;
padding-left: 20px;
font-size: 14px;
font-family: "微软雅黑";
color: #666;
}
.n_main_r_news_title {
font-size: 20px;
font-family: "微软雅黑";
text-align: center;
margin: 10px 0;
}
.n_main_r_news_info {
color: #666;
text-align: center;
border-bottom: 1px dotted #666;
}
.n_main_r_news_text {
font-size: 14px;
line-height: 25px;
padding: 20px;
text-indent: 2em;
}