Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/454.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
Html jquery mobile在image1和image2之间留出空间_Html_Css_Jquery Mobile - Fatal编程技术网

Html jquery mobile在image1和image2之间留出空间

Html jquery mobile在image1和image2之间留出空间,html,css,jquery-mobile,Html,Css,Jquery Mobile,我有一个关于jquery.mobile的问题。我可以在手机上显示2张照片。但它在photo1和photo2之间有间隔。 你能给我一些建议吗,我不想在物体之间留一个空间。 非常感谢 css } html .ui-grid-b img { width : 50%; height : 52vw; <div class="ui-grid-b"> <a href="xxx.htm"> <img alt="alt..."

我有一个关于jquery.mobile的问题。我可以在手机上显示2张照片。但它在photo1和photo2之间有间隔。 你能给我一些建议吗,我不想在物体之间留一个空间。 非常感谢

css

}

html


.ui-grid-b img {
   width  : 50%;
   height : 52vw;
<div class="ui-grid-b">

        <a href="xxx.htm">
        <img alt="alt..." src="img/image.jpg" />
        </a>
        <a href="xxx.htm">
        <img alt="alt..." src="img/image.jpg" />
        </a>
        <a href="xxx.htm">
        <img alt="alt..." src="img/image.jpg" />
        </a>
        <a href="xxx.htm">
        <img alt="alt..." src="img/image.jpg" />
        </a>
    </div>
.ui-grid-b {
   line-height  : 0;
}