【问题标题】:JQuery Mobile buttons rendered incorrectly in IE9JQuery Mobile 按钮在 IE9 中呈现不正确
【发布时间】:2013-04-15 19:40:41
【问题描述】:

我在我的 web 应用程序中单击按钮时创建了一行 JQuery Mobile 按钮。这些按钮在 FF 和 Chrome 中呈现良好,但在 IE9 中,它们仅呈现为正方形(而不是完整大小的矩形),并且大部分文本都丢失了。

这是 HTML:

<div id="themes" data-role="popup" data-position-to="#layersImg" data-corners="true" data-transition="none" data-theme="b" data-overlay-theme="a">
    <div class="ui-grid-b">
        <div class="ui-block-a">
            <div data-role="fieldcontain">
                <fieldset data-role="controlgroup" data-type="vertical">
                    <!--<legend><strong></strong></legend>-->
                    <div style="margin-left: 15px; margin-right: 15px"> <a id="firstBtn" data-role="button" data-rel="popup" href="#firstCategory">Title</a>
                   /// and so on ....

我正在使用 JQuery 1.7 和 JQuery Mobile 1.3.0

我只有 IE 有这个问题(以及其他一些问题,请参阅我的其他帖子!)

有什么想法吗?谢谢,杰森

【问题讨论】:

  • 尝试将 jQuery 版本更新到最新版本。可能是旧版本在 jQuery Mobile 上表现不佳。
  • No lukc...我更新了 JQuery 和 JQuery 移动库引用,还更新了 Modernizr...现在我的 index.html 有: ...我正在使用 3.2 版的 ArcGIS JS API ....
  • 我在同一个应用程序的 IE9 中也有这个问题:我在 IE9 上也有这个问题:stackoverflow.com/questions/15908114/…

标签: javascript jquery jquery-mobile button internet-explorer-9


【解决方案1】:

好吧,这似乎成功了:我刚刚在 fieldset 标签中添加了一个类:

  <fieldset data-role="controlgroup" data-type="vertical" class="ui-btn-right">

..现在它们按预期呈现..我仍然卡在上面链接的另一个 IE9 问题上!

【讨论】:

    猜你喜欢
    • 2013-08-28
    • 1970-01-01
    • 1970-01-01
    • 2012-01-10
    • 1970-01-01
    • 1970-01-01
    • 2012-08-26
    • 1970-01-01
    • 2012-08-23
    相关资源
    最近更新 更多