2014-01-04 4 views
1

HTMLудалить все границы от начальной загрузки таблицы

<table class="table " > 
    <thead > 
     <tr> 

      <th> 
       Product 
      </th> 
      <th> 
       Price 
      </th> 

     </tr> 
    </thead> 
    <tbody > 
     <tr> 
      <td > 
       torch 
      </td> 
      <td> 

       <input type="text" class="form-control" id="amountC" name="amountC" autocomplete='off' style="outline: none; 
         border:none !important; 
         box-shadow:none !important;"> 
      </td> 


     </tr> 


    </tbody> 
    <thead> 
     <tr> 

      <th> 
       <input type="text" style="float:left" name="" id="couo" placeholder="hi" class="form-control" /> 

      </th> 
      <th> 
    <div> 
     <input type="button" style="padding:5px 12px" name="btnC" id="btnC" class='btn btn-info' value="coupon" /> 

    </div> 
</th> 

</tr> 

<tr> 

    <th> 
     Amount to be paid 
    </th> 
    <th> 
     <input type="text" class="form-control" id="amountT" name="amountT" autocomplete='off' style="outline: none; 
       border:none !important; 
       box-shadow:none !important;">        </th> 

</tr> 
</thead> 

</table> 

У меня есть этот HTML, в котором есть границы в этом table.I хотите, чтобы полностью удалить все границы внутри table.I попытался редактирования CSS .Но я не могу сделать ..

вот fiddle

+0

Как вы имеете в виду «не можете редактировать CSS»? Пожалуйста, покажите нам, что вы уже пробовали ... – BenM

+0

Почему бы вам не переопределить классы css? –

+0

Я дал CSS в скрипте @BenM. Вы можете проверить, что – user3155047

ответ

3

сделал у попробовал этот

<style> 
    .table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td { 
border: none!important; 
} 
    </style> 

это должно помочь вам
проверить это http://jsfiddle.net/spk063/Gz49L/4/

+0

Спасибо человеку! работал как шарм! – user3155047

Смежные вопросы