Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Css Chrome Firefox diff_Javascript_Jquery_Css_Google Chrome_Firefox - Fatal编程技术网

Javascript Css Chrome Firefox diff

Javascript Css Chrome Firefox diff,javascript,jquery,css,google-chrome,firefox,Javascript,Jquery,Css,Google Chrome,Firefox,我有下一个代码,它在Firefox的Chrome中的工作方式不同。我的问题是:我必须添加什么来修复firefox才能像Chrome一样正常工作? 链接到 屏幕:屏幕: 不同地怎样?请澄清。我在两个浏览器上都使用了它们,看起来都一样。请提供一些屏幕截图或更详细的内容,好吗?我发现它们在两种浏览器上都有重叠,如果您将固定顶部类添加到所有屏幕上,并且不给它们留下任何区分屏幕的余地,我建议这是正确的行为: <table class="ui cellled striped table" id="ta

我有下一个代码,它在Firefox的Chrome中的工作方式不同。我的问题是:我必须添加什么来修复firefox才能像Chrome一样正常工作? 链接到 屏幕:屏幕:


不同地怎样?请澄清。我在两个浏览器上都使用了它们,看起来都一样。请提供一些屏幕截图或更详细的内容,好吗?我发现它们在两种浏览器上都有重叠,如果您将
固定顶部
类添加到所有屏幕上,并且不给它们留下任何区分屏幕的余地,我建议这是正确的行为:
<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>
$('.ui.sticky').sticky();
$( '#table tbody tr td' ).click(function() {
  $( "#table .ui.sticky" ).sticky('refresh');
});