我有一个问题,我知道这不是这个门户网站上最好的问题。
但我的问题是,我的移动应用程序上有两个jquery和jquery mobile库。
并且知道我添加的按钮已经将颜色从黑色更改为白色。为什么?
下面是我的代码:
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.css">
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script>
<a href="#myPanel" data-icon="search" data-iconpos="notext" class="ui-btn-right" data-inline="true" data-direction="reverse">Search</a>
发布于 2013-05-16 21:25:14
今天版本的jQuery Mobile css文件有一个错误,样式不适用于您的按钮。建议,切勿使用最新的jQuery移动文件。
现在使用这个稳定的1.3.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/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
https://stackoverflow.com/questions/16597528
复制相似问题