{"id":283,"date":"2006-02-17T12:57:55","date_gmt":"2006-02-17T04:57:55","guid":{"rendered":"http:\/\/j178.mtgbb.com\/44"},"modified":"2006-02-17T12:57:55","modified_gmt":"2006-02-17T04:57:55","slug":"%e5%9b%ba%e5%ae%9a-table-header","status":"publish","type":"post","link":"https:\/\/j178.mtgbb.com\/?p=283","title":{"rendered":"\u56fa\u5b9a table header"},"content":{"rendered":"<p>1. \u628a table \u5305\u5728 Div \u88e1\u9762<\/p>\n<p>&lt;DIV style=&amp;quot;OVERFLOW: auto; HEIGHT: 120px&amp;quot;&gt;&lt;\/DIV&gt;<\/p>\n<p>2. \u8a2d\u5b9a\u56fa\u5b9a header \u7684 style<br \/>\n&lt;style type=&amp;quot;text\/css&amp;quot;&gt;<br \/>\n&lt;!&#8211;<br \/>\n.DataGridFixedHeader {background-color: white; position:relative; top:expression(this.offsetParent.scrollTop);}<br \/>\n&#8211;&gt;<br \/>\n&lt;\/style&gt;<\/p>\n<p>3. \u628a\u9019\u500b style \u8a2d\u7d66 HeaderStyle \u7684 CssStyle<br \/>\n&lt;table&gt;<br \/>\n&lt;tbody&gt;<br \/>\n&lt;tr class=&#8221;&#8221;&gt;<br \/>\n&lt;th&gt;a1&lt;\/th&gt;&lt;th&gt;a2&lt;\/th&gt;&lt;th&gt;a3&lt;\/th&gt;<br \/>\n&lt;\/tr&gt;<br \/>\n&lt;tr&gt;<br \/>\n&lt;td&gt;111&lt;\/td&gt;&lt;td&gt;111&lt;\/td&gt;&lt;td&gt;111&lt;\/td&gt;<br \/>\n&lt;\/tr&gt;<br \/>\n&lt;tr&gt;<br \/>\n&lt;td&gt;111&lt;\/td&gt;&lt;td&gt;111&lt;\/td&gt;&lt;td&gt;111&lt;\/td&gt;<br \/>\n&lt;\/tr&gt;<br \/>\n&lt;\/tbody&gt;<br \/>\n&lt;\/table&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u628a table \u5305\u5728 Div \u88e1\u9762 &lt;DIV style=&amp;quot;OVERFLOW:  &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[28],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-others","tag-css"],"_links":{"self":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=283"}],"version-history":[{"count":0,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/283\/revisions"}],"wp:attachment":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}