我有一个固定的导航栏在botton这个网页;我正在使用图像按钮。白色空间继续出现,按钮周围,我不能消除它:图像按钮周围的空白html
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js">
</script>
<style>
img {
border: none;
display: block;
float:left;
}
</style>
</head>
<body>
<div id="ider" data-position="fixed" data-role="navbar" class="ui-navbar" role="navigation">
<ul class="ui-grid-b">
<li class="ui-block-a">
<a href="index.html"><img style="width:100%; height:100%" src="icon1.png"></a>
</li>
<li class="ui-block-b">
<a href="index.html"><img style="width:100%; height:100%" src="icon2.png"></a>
</li>
<li class="ui-block-c">
<a href="index.html"><img style="width:100%; height:100%" src="icon3.png"></a>
</li>
</ul>
</div>
</body>
以下是图像:
可能重复[删除下面的图像的白色空间(http://stackoverflow.com/questions/7774814/remove-white-space-below-image) –
我不知道这是否会总是正确渲染。在Amaya,我有问题显示。我认为你可能有一些基本的格式错误。 – Paul
由于某些原因,问题似乎与活动链接有关。 – Paul