• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

感觉自己的代码又臭又长,麻烦老师帮忙看看。

网页布局            *{      margin:0;      padding:0;      border:0;      border-spacing: 0;      border-collapse: collapse;     }    .container{            background:black;            width:100%;            height:100px;            margin:0 auto;    }    .logo{            width: 400px;            height: 100px;            background:url(http://climg.mukewang.com/58c0d2d900016ce303000100.png) no-repeat center left;            cursor: pointer;    }           .nav{                   width: 700px;                   height: 100px;                   line-height: 100px;                   position: absolute;                   top: 0;                   right: 0;                   text-align: center;                   }           .top_table li, .foot_table li{                   display: inline;                   color:white;                   font-size: 20px;                   margin: 40px;                   cursor: pointer;                   width: 60px;                   }           .foot{                   background: black center;                   width:100%;                   line-height: 100px;                   height: 100px;                   position: absolute;                   bottom: 0;                   text-align: center;                   }           .banner_pic{                   width: 100%;                   height: 750px;                   line-height: 750px;                   background:blue;           }           .fst_col{                   width: 50%;                   height: 750px;                   line-height: 750px;                   position: absolute;                   left: 0;           }           .sec_col{                   width: 50%;                   height: 750px;                   line-height: 750px;                   position: absolute;                   right: 0;           }           .foot_table,.top_table{                   height: 98px;           }           h3.title_in_first_col{                   width: 50%;                   height:100px;                   line-height: 100px;                   position: absolute;                   top: 0;                   left: 0;                   margin-left:200px;                   margin-top: 80px;                   font-size: 30px;           }           h3.title_in_second_col{                   width: 50%;                   height:100px;                   line-height: 100px;                   position: absolute;                   top: 0;                   left: 0;                   margin-top: 80px;                   font-size: 30px;           }           .path_road li{                   font-size: 20px;                   height: 50px;                   width: 300px;                   list-style: none;           }           .path_road{                   position: absolute;                   left: 200px;                   top:-150px;           }           .course li{                   height: 50px;                   width: 300px;                   list-style: none;                   font-size: 20px;           }           .course{                   position: absolute;                   left: 0;                   top: -150px;           }           span{                   background-color: red;           }                                       
                                       
                                   
  • 课程                               
  • 职业路径                               
  • 实战                               
  • 猿问                               
  • 手记                       
               
       
                <div class="banner_pic">                                                        课程推荐

                       
                                   
  • 职业路劲   html5与实现动态网页                               
  • 职业路劲   html5与实现动态网页                               
  • 职业路劲   html5与实现动态网页                               
  • 职业路劲   html5与实现动态网页                               
  • 职业路劲   html5与实现动态网页                       
               
                                                        相关课程

                       
                                   
  • html5 css3 javascript                               
  • html5 css3 javascript                               
  • 移动端基础 移动端app开发                       
               
                                               
                                   
  • 网站首页                               
  • 企业合作                               
  • 人才招聘                               
  • 联系我们                               
  • 常见问题                               
  • 友情链接                       
               
我想问的是,为什么这个li标签的2px就是弄不掉,boder取消也不行。最终我只能把ul的高度减小2px。还有我在chrom浏览器中看了下发现我的职业路劲 html5与动态网页那里一开始就有了个偏移量,就是Li标签中的文字不在li容器中,为什么啊?

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

发新帖

发布任务需求已有1031164位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!