常用CSS

常用的CSS 栏目DIV+CSS

         <div class="channel">
                        <div class="channel_title">
                            <div class="channel_title_left">
                                管理</div>
                            <div class="channel_title_right">
                            </div>
                        </div>
                        <div class="channel_content">                        
                            <div class="detail_operate">

                            </div>
                        </div>
          </div>
/*布局*/
.web_border
{
    border: 1px solid #b7d5df;
}
.channel
{  
    margin: 0px auto;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 20px;
    border: 1px solid #b7d5df;
}

.channel_title
{
    vertical-align: middle;   
    padding-left: 20px;
    height: 28px;
    color:Black;
    font-weight: bold;
    background-color: #D4E7F0;
    border-bottom: 1px solid #b7d5df; 
    /*
    background:url(../images/leftmenubg.gif) repeat-x; 
    */   
}

.channel_title_left
{
    float: left;
    width: 60%;
    font-weight: bold;   
    background-image: url(../images/btn_02.png) no-repeat;    
    padding:5px 25px 0px 10px;
    font-size: 14px;
}
.channel_title_right
{
    float: right;
    text-align: right;
    width: 30%;
    font-size: 12px;
    padding-right: 10px;
    font-size: 14px;
}
.channel_content
{    
    padding: 5px 10px 10px 10px;
    margin-bottom: 10px;
    text-align: left;
}
.channel_content span,.channel_content td,.channel_content li{line-height:25px;font-weight:bold;padding:0px 10px;}

.channel_content label{margin-right:20px;}
.detail_operate
{
    padding: 5px;
}

.channel_list_title
{
    font-size: 14px;
    font-weight: bold;
    padding-top: 5px;
    padding-left: 20px;
    height: 25px;
    background-color: #B2D3F5;
    border-bottom: 1px solid #96C2F1;
    border-top: 1px solid #96C2F1;
}
.navlist ul
{
    list-style: none;
    padding: 0px;
    margin: 0px;
    text-indent: 0em;
    padding-left: 10px;
}
.navlist ul li
{
    display: inline;
    padding: 5px;
}
posted on 2016-05-21 10:49  雪夜  阅读(146)  评论(0编辑  收藏  举报