html - 如何去除ListView上的白色边框

标签 html css listview jquery-mobile

你好,我在页脚中添加了 listView

     <  <!DOCTYPE html>
    <html>
    <head>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../css/jquery.mobile-1.4.2.min.css">
    <script src="../js/jquery-1.10.2.min.js"></script>
    <script src="../js/jquery.mobile-1.4.2.min.js"></script>
    <script src="http://responsiveslides.com/responsiveslides.min.js"></script>
<style>
.ui-btn.ui-btn-icon-right.ui-icon-carat-r{text-align: center;}
        .ui-btn-icon-right:after {
            display:none;
        }
</style>
<body>
 <div data-role="page" id="index" style="background-color:#666666;">

      <div data-role="content" class="slideshow">
      ....
      ....
      ....
      </div>
   <div data-role="footer" data-position="fixed" id="footer" style="background:#808080;">
        <ul data-role="listview" style="border-width: 0px;">
    <li style="background:#ffffff !important;border:none;"><a href="#" style="background-color: #666666;border-width: 0px;"><span style="color:white">Home | Office | Shop | Industrial | Exterior | Decor</span><p class="ui-li-desc" style="color:white">ENERGY SAVING LED LIGHTS</p></a></li>
            </ul>
      </div> 



</body>
</html>

但添加了白色边框,然后我添加了 border-width: 0px;但没有用它再次显示白色边框 请给我任何关于如何删除 ListView 上的白色边框的想法

最佳答案

尝试添加这条规则:

#footer ul{
 border: none !important;
}

关于html - 如何去除ListView上的白色边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24036621/

相关文章:

javascript - 如何通过单击菜单中的 Li 将 HTML 页面加载到 DIV 中?

html - 如何根据数据长度动态设置CSS样式样式字体

javascript - 当图像在 holder 中显示时,将图像垂直居中显示

android - 长按 ListView android 后显示一个对话框

java - 使用 JSON 文件填充 ListView

jquery - 柔性过渡。平滑地填充空间

html - 导航链接文本颜色一次 1 种颜色

html - 如何制作具有固定宽度列的流体网格?

javascript - 如何从文本框中获取用户输入以在倒计时脚本中使用它?

java - Android ListView 只显示第一项