表格对齐适用于Firefox,而不适用于IE

编程入门 行业动态 更新时间:2024-10-28 13:14:47
本文介绍了表格对齐适用于Firefox,而不适用于IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

链接的页面 HERE 与使用Firefox完全一致。 使用Internet Explorer打开页面,您将看到问题。 < iframe> ''并没有像预期的那样出现在桌子的右侧,而是在它的下方。 我提前道歉,因为代码没有一尘不染。 如何让IE按预期显示页面?

解决方案

看起来像iframe的宽度可以成为一个问题为什么你不使用CSS定位它?你应该考虑使用div,如果它们更具风格。

看起来像iframe的宽度可能是个问题的原因你不是用CSS定位吗?你应该考虑使用div,如果它们可以更具样式。

我认为。 但是出现以下问题... 为了避免对50页进行相同的更改,我想只对一页进行更改。因此iframes。 有了DIV标签,我有以下问题...... 1.如何放入网页我可以使用iframe的方式吗? 2.如何调整height属性的大小以允许显示所有内容而不管高度(正如我正在使用Javascript) ? 3.如果用户手动缩小浏览器的宽度,如何防止DIV和/或iframe内容落在按钮下方? 即使使用Firefox,如果你缩小你的浏览器,iframe会在它允许滚动之前落在按钮下方,我不希望它这样做。 我可以尝试使用DIV的解决方案,但与此同时,这3个问题仍然是非常相关的。 我还需要将它作为Javascripts和A标记的目标。

我还在研究DIV的东西......但与此同时,是否有人有任何想法如何使表格正常工作?

The page linked HERE appears precisely as intended using Firefox. Open the page with Internet Explorer and you''ll see the problem. The <iframe>''s don''t appear to the right of the table, as intended, but beneath it. I apologize in advance for the code not being spotless and clean. How do I get IE to show the page as intended?

解决方案

It looks like the width of the iframe could be a problem why don''t you position it using CSS? You should consider using a div if you can they are more stylable.

It looks like the width of the iframe could be a problem why don''t you position it using CSS? You should consider using a div if you can they are more stylable.

I considered it. But the following problem comes up... To avoid having to make the same changes to 50 pages, I want to make changes to just one page. Hence the iframes. With DIV tags, I have the following questions... 1. How do I put in a web page the way I can with iframes? 2. How do I resize the height attribute to allow for all content to be displayed regardless of height (as I''m doing with the Javascript)? 3. How do I prevent the DIV and/or iframe content from dropping below the buttons if a user manually reduces the width of their browser? Even with Firefox, if you narrow your browser the iframe drops below the buttons before it allows scrolling, and I don''t want it to do that. I can try a solution using DIVs, but in the meantime those 3 questions are still highly pertinent. I also need it to be targeted by Javascripts and A tags.

I''m still working on the DIV stuff... but in the meantime does anyone have any ideas how to get the tables to work correctly?

更多推荐

表格对齐适用于Firefox,而不适用于IE

本文发布于:2023-08-02 03:50:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1274380.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:适用于   而不   表格   Firefox

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!