Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/384.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 Firefox中的表边界错误_Javascript_Css_Firefox - Fatal编程技术网

Javascript Firefox中的表边界错误

Javascript Firefox中的表边界错误,javascript,css,firefox,Javascript,Css,Firefox,如果使用Firefox打开/关闭表,则会弹出不必要的边框 我可以使用JS解决这个问题: setTimeout(function () { $table.css({'table-layout': 'auto'}) }, 0); setTimeout(function () { $table.css({'table-layout': 'fixed'}); }, 60); 没有JS能解决这个问题吗?这似乎是Firefox图形引擎中的一个bug,但是我注意到,只要你删除边框塌陷:塌陷

如果使用Firefox打开/关闭表,则会弹出不必要的边框


我可以使用JS解决这个问题:

setTimeout(function () {
    $table.css({'table-layout': 'auto'})
}, 0);
setTimeout(function () {
    $table.css({'table-layout': 'fixed'});
}, 60);

没有JS能解决这个问题吗?

这似乎是Firefox图形引擎中的一个bug,但是我注意到,只要你删除
边框塌陷:塌陷从表中,它不再出现


所以,也许你可以调整一下你的造型,使它看起来也不错,而不会出现边框塌陷。这完全取决于你对桌子外观的灵活程度。

你的小提琴在我见过的任何浏览器中都不起作用tried@JaromandaX在FF open first item和open/close second item之后,正如我所说,你的小提琴在我尝试过的任何浏览器中都不起任何作用-到处点击,没有任何“打开”或“关闭”@JaromandaX抱歉,你能再看一次吗?是的,它们现在按你的意愿打开和关闭-哦,等等,我忘了问题是什么:p