2017-05-26 125 views
-5

我想在这里删除黄色标记的边框我附上了代码。你能帮我解决这个问题吗?我试图谷歌它,但没有找到任何结果。如何从桌面上删除黄色标记的边框?

CSS:

.table2 , .table2 th , .table2 tr, .table2 td { 
           border: 1px solid black; 
           border-collapse: collapse; 
           padding: 5px; 
           width: 850px; 
    .table2 th.code {width: 12%} 
      .table2 th.title {width: 35%} 
      .table2 th.cgpa {width: 5%} 
      .table2 th.credit {width: 13%} 
      .table2 th.teacher {width: 35%} 
      .table1 table th, td, tr { 
           border: 1px solid white; 
           padding: 0px;       
          } 

HTML:

     <table class="table2"> 
          <thead> 
           <th class="code">Subject Code</th> 
           <th class="title">Subject Title</th> 
           <th class="cgpa">CGPA</th> 
           <th class="credit">Credit Hours</th> 
           <th class="teacher">Course Teacher</th> 

          </thead> 
          <tbody> 
           /* there has other tables data*/ 
           <tr> 
            <td>MAT-324</td> 
            <td>Statistics & Probability</td> 
            <td>4.00</td> 
            <td>3 Hours</td> 
            <td>Mr. Wahid Polash</td> 
           </tr> 
           <tr> 
            <td colspan="3"></td>         
            <td>Total</td> 
            <td>15</td> 
           </tr> 


          </tbody> 
         </table> 

我想删除黄标边界:

Image

+2

所以找到导致黄色边框的代码并将其删除。 – ceejayoz

+0

显然,我们需要查看您的代码才能提供帮助。为什么不把它编辑成问题? – halfer

+0

我已添加代码 – Naim886

回答

0

我要出去肢体和给一个模糊的问题提供一个模糊的答案。

在你的CSS:

table { 
    border: none; 
} 

我还建议你更具体发布您的代码,你的问题。

+0

.table2,.table2日.table2 TR,.table2 TD { \t \t \t \t \t \t \t边界:1px的实心黑色; \t \t \t \t \t \t \t border-collapse:collapse; \t \t \t \t \t \t \t padding:5px; \t \t \t \t \t \t \t width:850px; – Naim886

+0

该代码中的任何内容都不会为您提供黄色边框。有其他代码或者一个不可思议的浏览器扩展。 – ceejayoz

+0

我已经添加了代码,它不起作用 – Naim886