Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/42.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
C# Firefox中图像大小过大在Chrome-Asp.net中效果良好_C#_Css_Asp.net_.net - Fatal编程技术网

C# Firefox中图像大小过大在Chrome-Asp.net中效果良好

C# Firefox中图像大小过大在Chrome-Asp.net中效果良好,c#,css,asp.net,.net,C#,Css,Asp.net,.net,我正在使用asp.net创建一个电子商务网站,并且有一个动态显示所有产品的页面 我唯一的一个问题是——在chrome中,图像的大小与CSS代码中所写的一样正确,但不确定当我在FF中运行程序时,图像的宽度和高度为什么会发生变化——每个图像的大小大约为300像素 .productImage { width:150px; height:150px; vertical-align:central; padding:10px; border:10px;

我正在使用asp.net创建一个电子商务网站,并且有一个动态显示所有产品的页面

我唯一的一个问题是——在chrome中,图像的大小与CSS代码中所写的一样正确,但不确定当我在FF中运行程序时,图像的宽度和高度为什么会发生变化——每个图像的大小大约为300像素

   .productImage 
{
    width:150px;
    height:150px;
    vertical-align:central;
    padding:10px;
    border:10px;
    border-radius:50px;
    -moz-border-radius:50px;
    -webkit-border-radius:50px;
    display:block;
    Text-indent: -9999px;


}

有人能帮我吗

更改垂直对齐:中心对齐;垂直对齐:中间对齐;而且,CSS本身似乎是正确的,所以问题一定在别处;作品