bootstrap 下拉框放图片
我在bootstrap的下拉框中放的图片,但是下拉框貌似宽度是固定的,图片右面有一片空白,怎么解决啊<adata-toggle="dropdown"href="#"><i...
我在bootstrap的下拉框中放的图片,但是下拉框貌似宽度是固定的,图片右面有一片空白,怎么解决啊
<a data-toggle="dropdown" href="#"><img alt="1" src="../img/portrait/portrait01.jpg" id="preview" class="portrait"></a> <ul class="dropdown-menu drop text-right" style="width: 50px;"> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="1" src="../img/portrait/portrait01.jpg" class="portrait"></li> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="2" src="../img/portrait/portrait02.jpg" class="portrait"></li> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="3" src="../img/portrait/portrait03.jpg" class="portrait"></li> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="4" src="../img/portrait/portrait04.jpg" class="portrait"></li> </ul> 展开
<a data-toggle="dropdown" href="#"><img alt="1" src="../img/portrait/portrait01.jpg" id="preview" class="portrait"></a> <ul class="dropdown-menu drop text-right" style="width: 50px;"> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="1" src="../img/portrait/portrait01.jpg" class="portrait"></li> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="2" src="../img/portrait/portrait02.jpg" class="portrait"></li> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="3" src="../img/portrait/portrait03.jpg" class="portrait"></li> <li style="-moz-box-sizing: content-box;width: 80px;"><img alt="4" src="../img/portrait/portrait04.jpg" class="portrait"></li> </ul> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询