Windows ListView, and you can't separate the headers from the table _css/html

Source: Internet
Author: User
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 strict//en" > <ptml> <pead> <style> body {b Ackground-color: #F0F0F0; font:11px "Verdana", "Arial"; width:90%; Margin-left:auto; Margin-right:auto; }. tscroll {border:1px #7494BF solid; Background-color: #ffffff; Overflow:scroll; Overflow-x:hidden; height:100px; Cursor:default; } tr.tablehead {position:relative; Background-color: #BFCEE7; height:16px; Text-align:center; TD {FONT:11PX "Verdana", "Arial"; td.asbtn{border: #7494BF solid; border-width:0px 1px 1px 0px; } table {border:0px; width:100%; } </style> <script>var c=0</script> </pead> <body> <div class= "Tscroll" id= "TC" > <table cellspacing= "0" cellpadding= "0" > <tr class= "Tablehead" "return false" onselectstart= "top: Expression (WINDOW.STatus=c++;tc.scrolltop) "> <td class=" asbtn ">heading1</td> <td class=" Asbtn ">heading2</td &GT;&LT;TD class= "asbtn" >heading3</td> <td class= "asbtn" >heading4</td><td class= "Asbtn" >heading5</td> <td class= "asbtn" >heading6</td> </tr> <tr><td>cell1</td ><td>cell</td><td>cell</td><td>cell</td><td>cell</td><td >cell</td></tr> <tr><td>cell</td><td>cell</td><td>cell</ Td><td>cell</td><td>cell</td><td>cell</td></tr> &LT;TR&GT;&LT;TD >cell</td><td>cell</td><td>cell</td><td>cell</td><td>cell </td><td>cell</td></tr> <tr><td>cell</td><td>cell</td> <td>cell</td><td>cell</td><td>cell</td><td>cell</td></tr > <tr><td>cell</td><td>cell</td><td>cell</td><td>cell</td> <td>cell</td><td>cell</td></tr> <tr><td>cell</td><td>cell </td><td>cell</td><td>cell</td><td>cell</td><td>cell</td ></tr> <tr><td>cell</td><td>cell</td><td>cell</td><td> Cell</td><td>cell</td><td>cell</td></tr> <tr><td>cell</td ><td>cell</td><td>cell</td><td>cell</td><td>cell</td><td >cell</td></tr> <tr><td>cell</td><td>cell</td><td>cell</ Td><td>cell</td><td>cell</td><td>cell</td></tr> &LT;TR&GT;&LT;TD >cell</td><td>cell</td><td>cell</td><td>cell</td><td>cell </td&gT;<td>cell</td></tr> <tr><td>cell</td><td>cell</td><td> Cell</td><td>cell</td><td>cell</td><td>cell</td></tr> &LT;TR ><td>cell</td><td>cell</td><td>cell</td><td>cell</td><td >cell</td><td>cell</td></tr> <tr><td>cell</td><td>cell</ td><td>cell</td><td>cell</td><td>cell</td><td>cell</td>< /tr> <tr><td>cell</td><td>cell</td><td>cell</td><td>cell< /td><td>cell</td><td>cell</td></tr> &LT;TR&GT;&LT;TD&GT;CELL&LT;/TD&GT;&LT;TD >cell</td><td>cell</td><td>cell</td><td>cell</td><td>cell </td></tr> <tr><td>cell</td><td>cell</td><td>cell</td> <td>Cell</td><td>cell</td><td>cell</td></tr> <tr><td>cell</td ><td>cell</td><td>cell</td><td>cell</td><td>cell</td><td >cell</td></tr> <tr><td>cell</td><td>cell</td><td>cell</ Td><td>cell</td><td>cell</td><td>cell</td></tr> &LT;TR&GT;&LT;TD >cell</td><td>cell</td><td>cell</td><td>cell</td><td>cell </td><td>cell</td></tr> <tr><td>cell</td><td>cell</td> <td>cell</td><td>cell</td><td>cell</td><td>cell</td></tr > <tr><td>cell</td><td>cell</td><td>cell</td><td>cell</td ><td>cell</td><td>cell</td></tr> <tr><td>cell</td><td> cell</td&Gt;<td>cell</td><td>cell</td><td>cell</td><td>cell</td></tr > <tr><td>cell</td><td>cell</td><td>cell</td><td>cell</td ><td>cell</td><td>cell</td></tr> <tr><td>cell</td><td> cell</td><td>cell</td><td>cell</td><td>cell</td><td>cell</ Td></tr> &LT;TR&GT;&LT;TD&GT;CELL&LT;/TD&GT;&LT;TD&GT;CELL&LT;/TD&GT;&LT;TD&GT;CELL&LT;/TD&GT;&LT;TD >cell</td><td>cell</td><td>cell</td></tr> <tr><td>cell n</ td><td>cell</td><td>cell</td><td>cell</td><td>cell</td>< td>cell</td></tr> </table> </div> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.