随笔 - 224  文章 - 12  评论 - 13  阅读 - 45万

常用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   雪夜  阅读(148)  评论(0编辑  收藏  举报
编辑推荐:
· 从二进制到误差:逐行拆解C语言浮点运算中的4008175468544之谜
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
阅读排行:
· C# 13 中的新增功能实操
· Ollama本地部署大模型总结
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(4)
· 卧槽!C 语言宏定义原来可以玩出这些花样?高手必看!
· langchain0.3教程:从0到1打造一个智能聊天机器人
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示