修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto;
min-height: 700px;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
}
.child-nav,.sort-nav,.publish-btn{
float: left;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器
修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
border: 1px dashed rebeccapurple;
}
.child-nav,.sort-nav,.publish-btn{
float: left;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: #ededed;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
border: 1px dashed rebeccapurple;
}
.child-nav,.sort-nav{
float: left;
}
.publish-btn{
float: right;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
border: 1px dashed rebeccapurple;
}
.child-nav,.sort-nav{
float: left;
}
.publish-btn{
float: right;
}
.top-area{
border-bottom: 1px solid red;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
border: 1px dashed rebeccapurple;
}
.child-nav,.sort-nav{
float: left;
}
.publish-btn{
float: right;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
body, button, input ,select, td, textarea {
font: 12px Tahoma,Verdana,Arial,Helvetica,"\5b8b\4f53",sans-serif;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
body, button, input ,select, td, textarea {
font: 12px Tahoma,Verdana,Arial,Helvetica,"\5b8b\4f53",sans-serif;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
.child-nav .active{
background: url("images/tip.png") no-repeat 0 -299px;
display: inline-block;
width: 60px;
height: 26px;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
body, button, input ,select, td, textarea {
font: 12px Tahoma,Verdana,Arial,Helvetica,"\5b8b\4f53",sans-serif;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
.child-nav .active{
background: url("images/tip.png") no-repeat 0 -299px;
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
body, button, input ,select, td, textarea {
font: 12px Tahoma,Verdana,Arial,Helvetica,"\5b8b\4f53",sans-serif;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
.child-nav .active{
background: url("images/tip.png") no-repeat 0 -299px;
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
}
.child-nav a{
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
color: #369;
font-weight: 700;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
body, button, input ,select, td, textarea {
font: 12px Tahoma,Verdana,Arial,Helvetica,"\5b8b\4f53",sans-serif;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
.child-nav .active{
background: url("images/tip.png") no-repeat 0 -299px;
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
color: black;
}
.child-nav a{
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
color: #369;
font-weight: 700;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

修改chouti.html文件
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin: 0;
padding: 0;
}
body, button, input ,select, td, textarea {
font: 12px Tahoma,Verdana,Arial,Helvetica,"\5b8b\4f53",sans-serif;
}
a{
text-decoration: none
}
body{
font-size: 12px;
}
.head-box{
background-color: #2459a2;
height: 44px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.head-content{
margin: 0 auto;
width: 1016px;
height: 44px;
background-color: #2459a2;
line-height: 44px;
position: relative;
}
.logo{
background: url("images/logo.png") no-repeat 0 0;
height: 23px;
width: 121px;
float: left;
margin-top: 11px;
/*display: inline-block;*/
}
.action-menu{
float: left;
margin-left: 20px;
}
.action-menu a.tb{
color: #c0cddf;
margin-left: -8px;
padding: 0 13px 0 13px;
display: inline-block;
/*background-color: yellow;*/
}
.action-menu a.tb:hover{
color: #fff;
background-color: #c0cddf;
}
.action-menu a.active,.action-menu a.active:hover{
color: #fff
background-color: #204982
}
.key-search{
float: right;
margin-top: 5px;
}
.key-search .search-txt,.key-search a.i{
float: left;
}
.key-search .search-txt{
width: 91px;
height: 25px;
color: red;
padding: 2px 2px 2px 5px;
}
.key-search .ico{
background: url("images/icon.png") no-repeat 0 -197px;
height: 12px;
width: 15px;
display: inline-block;
margin-bottom: 6px;
margin-left: 10px;
}
.key-search a.i{
height: 32px;
width: 30x;
background-color: #f4f4f4;
dispaly: inline-block;
/*border: 1px yellow solid;*/
border-left: none;
}
.action-nav{
position: absolute;
right: 131px;
}
.action-nav a{
color: #fff;
padding: 0 20px;
display: inline-block;
}
.action-nav a:hover{
background-color: #c0cddf;
}
/*------------------------------------------------------head end------------------------------------------------------*/
.main-content-box{
background-color: green;
width: 100%;
padding-top: 44px;
}
.main-content{
margin: 0 auto;
background-color: #fff;
width: 960px;
height: auto!important;
min-height: 700px;
padding: 6px 28px 60px 28px;
}
.content-L{
float: left;
width: 630px;
/*border: 1px dashed rebeccapurple;*/
}
.child-nav,.sort-nav{
float: left;
padding: 10px;
}
.publish-btn{
float: right;
padding: 10px;
}
.top-area{
overflow: hidden;
border-bottom: 1px solid red;
}
.child-nav .active{
background: url("images/tip.png") no-repeat 0 -299px;
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
color: black;
}
.child-nav a{
display: inline-block;
width: 60px;
height: 26px;
line-height: 26px;
text-align: center;
color: #369;
font-weight: 700;
margin-top: 3px;
margin-bottom: 13px;
}
</style>
</head>
<body>
<div class="head-box">
<div class="head-content">
<a href="#" class="logo"></a>
<div class="action-menu">
<a href="#" class="tb active">全部</a>
<a href="#" class="tb">42区</a>
<a href="#" class="tb">段子</a>
<a href="#" class="tb">图片</a>
<a href="#" class="tb">挨踢1024</a>
<a href="#" class="tb">你问我答</a>
</div>
<div class="key-search">
<form action="/" method="post">
<input type="text" class="search-txt" autocomplete="off">
<a href="#" class="i" >
<span class="ico"></span>
</a>
</form>
</div>
<div class="action-nav">
<a href="#" class="register-btn">注册</a>
<a href="#" class="login-btn">登录</a>
</div>
</div>
</div>
<div class="main-content-box">
<div class="main-content">
<div class="content-L">
<div class="top-area">
<div class="child-nav">
<a href="#" class="hotbtn active" >最热</a>
<a href="#" class="newbtn" >最新</a>
<a href="#" class="personbtn" >人类发布</a>
</div>
<div class="sort-nav">
<a href="#" class="sortbtn active" >即时排序</a>
<a href="#" class="newbtn" >24小时</a>
<a href="#" class="newbtn" >3天</a>
</div>
<a href="#" class="publish-btn">
<span class="n2">发布</span>
</a>
</div>
</div>
</div>
</body>
</html>
点击pycharm上面浏览器

浙公网安备 33010602011771号