IE页面中的布局问题 [英] layout problem in page with IE

查看:84
本文介绍了IE页面中的布局问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我是这个论坛的新手,我很高兴我发现它,因为它似乎会帮助我解决我的问题。我使用网格面板和按钮等jsf组件创建了一个网站。在mozilla firefox浏览器中组件按照预期显示,但在Internet Explorer中,我的按钮向右延伸直到页面末尾,并且我在网格面板上包含两个按钮,而不是在互联网下面的按钮。探险家他们彼此相邻。此外,我在我的页面上有一个谷歌地图,在mozilla中正确显示,但在IE中页面只显示地图位置上的灰色方块。我猜这必须是一个CSS问题,但有谁知道我该怎么办?提前谢谢!

Hello, I am new to this forum and I am glad I found it because it seems that it will help me with my problem.I have creates a site using jsf components like grid panels and buttons.In the mozilla firefox browser the components are shown just as they are supposed to, but in internet explorer my button stretches to the right until the end of the page and two buttons that I have included on a grid panel, instead of being the one below the other, in the internet explorer they are shown next to each other. Also, I have a google map on my page which is shown properly in mozilla but in the IE the page shows only a grey square on the position of the map.I''m guessing this has to be a css issue but does anyone know what can I do?Thank you in advance!

推荐答案

请将您的代码或链接发布到您的网站。


谢谢,死亡
Please post your code, or a link to your site.

Thanks, Death


我的css样式表的代码是:
The code of my css stylesheet is:
展开 | 选择 | Wrap | 行号


这对我们来说很难帮助因为我们不运行java。我们需要生成的html。


你的第一行说你正在使用xml声明。只有现代浏览器使用这个,而IE当然不会扼杀它,进入怪癖模式。您可以安全地删除该行。
That''s going to be difficult for us to help with since we don''t run java. We need the generated html.

Your first line says you are using the xml declaration. Only modern browsers use this while IE, of course, does not and chokes on it, going into quirks mode. You can safely remove that line.


这篇关于IE页面中的布局问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆