zoukankan      html  css  js  c++  java
  • 给tr整行加删除线的技巧

    给tr行,整行加删除线的html,用得着的,拿走。关键代码,有下划线部分

    <div style=" 550px; height: 100px; border:solid 1px orange;overflow:scroll">
    <table cellpadding="0" cellspacing="1" style="background-color:black;500px">
         
    <tbody>
             
    <tr>
                 
    <td style="background-color:white"><input type="checkbox" /></td>
                 
    <td style="background-color:white">cccc</td>
                 
    <td style="background-color:white">cccc</td>
             
    </tr>
             
    <tr>
                 
    <td style="background-color:white; overflow:visible;100px;">
                 
    <div style="position: relative; ">
                    
    <input type="checkbox" />
                    
    <div style=" 500px; position: absolute; top: 9px;border-bottom:solid 1px #000 ">
                 
    </div>
                 
    </div>
                 
    </td>
                 
    <td style="background-color:white">cccc</td>
                 
    <td style="background-color:white">cccc</td>
             
    </tr>

             
    <tr>
                 
    <td style="background-color:white"><input type="checkbox" /></td>
                 
    <td style="background-color:white">cccc</td>
                 
    <td style="background-color:white">cccc</td>
             
    </tr>
             
    <tr>
                 
    <td style="background-color:white"><input type="checkbox" /></td>
                 
    <td style="background-color:white">cccc</td>
                 
    <td style="background-color:white">cccc</td>
             
    </tr>
             
    <tr>
                 
    <td style="background-color:white"><input type="checkbox" /></td>
                 
    <td style="background-color:white">cccc</td>
                 
    <td style="background-color:white">cccc</td>
             
    </tr>
         
    </tbody>
    </table>

    </div> 

    cccc cccc
    cccc cccc
    cccc cccc
    cccc cccc
    cccc cccc
  • 相关阅读:
    复旦大学软件学院预推免经验贴
    寒武纪-算法研究实习生

    C++ 笔记
    Deep Layer Aggregation论文笔记
    项目:语义分割DeepLabv3-树莓派4B部署
    神经网络加速引擎对比调研
    东南大学网安学院预推免经验帖
    中科院深圳先进院夏令营经验贴
    华东师范大学软院夏令营经验贴
  • 原文地址:https://www.cnblogs.com/itprogrammer/p/2177421.html
Copyright © 2011-2022 走看看