IE7与jquery移动应用程序有关

时间:2013-08-08 07:05:02

标签: css internet-explorer css3 internet-explorer-7

我正在使用webapplication制作一个JQuery Mobile。 在实际的浏览器中,一切正常,但不在IE7中。我知道,这是一个mobile application但有人想要使用普通电脑,我不会改变整个layout

无论如何,我有一个header,这个标题位于两个空格之间。我们无法在实际的“优秀”浏览器中看到这些空间,但在IE7中,他没有: - / 我不想要空间!

我看到窗户的高度越大,“空间”越大:

Error when fullscreen

Error when fullscreen height * 2

这是HTML生成的IE7

<thead>
                <tr>
                    <th>
                        <div data-role="header" data-theme="c" class="applicationheader">
                                <img src="http://application.local/applicationlogo.png" alt="application" style="width: 32px; height: 32px;" />
                            <h1>Title</h1>
                        </div>
                    </th>
                </tr>
            </thead>

修改

当我做“背景颜色:红色”时,要隐藏的区域是红色,但当我制作“最大高度:1px”时,没有任何动作!

1 个答案:

答案 0 :(得分:1)

祝你好运。 jQuery Mobile 根本不适用于IE7。实际上,即使是新的 jQuery 分支2.x也不再支持这个浏览器。

你可以尝试找到一个CSS规则,它会在IE7中导致这种不当行为,并用针对IE7的* CSS hack覆盖它。更多信息:http://dimox.net/personal-css-hacks-for-ie6-ie7-ie8/