mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Docs: update box-sizing definition
Add a note to output about the data-text vs data-name attribute settings
This commit is contained in:
parent
d19985e517
commit
2991e424e7
@ -1,6 +1,7 @@
|
|||||||
|
html { box-sizing: border-box; }
|
||||||
|
*, *:before, *:after { box-sizing: inherit; }
|
||||||
body,div,h1 {font-family:'trebuchet ms', verdana, arial;margin:0;padding:0;}
|
body,div,h1 {font-family:'trebuchet ms', verdana, arial;margin:0;padding:0;}
|
||||||
body {background-color:#fff;color:#333;margin:0;padding:0;}
|
body {background-color:#fff;color:#333;margin:0;padding:0;}
|
||||||
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
|
|
||||||
h1,h2 {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;margin:0;}
|
h1,h2 {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;margin:0;}
|
||||||
h1 {font-size:large;font-weight:400;}
|
h1 {font-size:large;font-weight:400;}
|
||||||
h2 {color:#333;font-size:small;font-weight:400;}
|
h2 {color:#333;font-size:small;font-weight:400;}
|
||||||
|
@ -496,6 +496,7 @@ line,value1,value2,value3
|
|||||||
<br>
|
<br>
|
||||||
Notice in this output that the "First" and "Last" columns match the contents of the <code>data-name</code> attribute and not the header text:
|
Notice in this output that the "First" and "Last" columns match the contents of the <code>data-name</code> attribute and not the header text:
|
||||||
<pre class="prettyprint lang-js">Rank,First,Last,Age,Total,Discount,Date</pre>
|
<pre class="prettyprint lang-js">Rank,First,Last,Age,Total,Discount,Date</pre>
|
||||||
|
<span class="label warning">* NOTE *</span> The core plugin uses the <code>data-text</code> attribute for text extraction. If you want to use the same data for both, make the data-attributes match!
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user