javascript - Css Chrome Firefox diff -
i have next code work differently in chrome in firefox. questions is: must should add fix firefox work exact chrome? link fiddle screens: screens: chrome firefox
<table class="ui cellled striped table" id="table"> <thead> <tr> <td class="ui sticky">asdasd</td> <td class="ui sticky">asdasd</td> <td class="ui sticky">asddd</td> <td class="ui sticky">asdda</td> <td class="ui sticky">asdddd</td> </tr> </thead> <tbody> <tr> <td>raaarararar</td> <td>raaarararar</td> <td>raaarararar</td> <td>raaarararar</td> <td>raaarararar</td> </tr> </tbody> </table>
and js:
$('.ui.sticky').sticky(); $( '#table tbody tr td' ).click(function() { $( "#table .ui.sticky" ).sticky('refresh'); });
Comments
Post a Comment