Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.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
Css Chrome tr高度跳过像素_Css_Google Chrome - Fatal编程技术网

Css Chrome tr高度跳过像素

Css Chrome tr高度跳过像素,css,google-chrome,Css,Google Chrome,当我使用'height'属性或'tr'元素时,我在Chrome中有奇怪的行为。 如果我将其设置为25px,行数实际上将是26px,大一个像素,并且对于所有大小的25-29或35-39,其行为相同。如果设置为20-24或30-34px,将正常显示 table tr { height: 25px; } 你可以在小提琴中看到它: 在FF中效果很好 注: 我在Windows 7上使用Windows 7和Chrome 26.0.1410.64 m,Chrome 26.0.1410.64 m运行良好。您的

当我使用'height'属性或'tr'元素时,我在Chrome中有奇怪的行为。 如果我将其设置为25px,行数实际上将是26px,大一个像素,并且对于所有大小的25-29或35-39,其行为相同。如果设置为20-24或30-34px,将正常显示

table tr { height: 25px; }
你可以在小提琴中看到它:

在FF中效果很好

注:
我在Windows 7上使用Windows 7和Chrome 26.0.1410.64 m,Chrome 26.0.1410.64 m运行良好。您的示例,尝试停用所有Chrome扩展。

在Chrome上运行良好。。。所有tr的宽度为84px,宽度为25pxheight@ViníciusMoraes你在用什么操作系统?什么Chrome版本?我将用这些细节编辑我的帖子。和你一样,win7和Versão 26.0.1410.64 m你使用了chrome扩展吗?不是扩展。但我现在看到,尽管开发工具显示错误的像素值,但渲染似乎响应良好。