CSS Div表比容器更宽:问题 [英] CSS Div table wider than container: issue

查看:67
本文介绍了CSS Div表比容器更宽:问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力将应用转换为CSS布局。我已经对它运行了CSS

验证,并且出现的唯一错误是

ColdFusion会修复的错误。问题是有一个数据表,其中包含
18-30列和一行行数。这显示在正确的内容中

div,但它会下降10行左右。那部分在FireFox中运行正常,

然而这个应用程序只会在IE上使用。请帮忙。


示例页面:
http://cf7test.aciwebs.com/brendan/test2.htm

解决方案

br ************* @ gmail.com 写道:< blockquote class =post_quotes>我正在努力将应用程序转换为CSS布局。我已经对它运行了CSS
验证,并且出现的唯一错误是ColdFusion可以修复的错误。问题是有一个数据表

会有固定的吗??错误未修复?

HTML也无效。你正在使用 />"关闭< meta>

元素,这是一个XHTML-ism,不是有效的HTML。有一些语法

错误。链接中有大量未逃脱的&符号。

18-30列和一排行。这显示在正确的内容
div中,但它会下降10行左右。那部分在FireFox中运行正常,但是这个应用程序只会在IE上使用。请帮忙。



您的问题描述不清楚。在
Firefox中删除10行是正确的吗?而不是在IE?我们怎么说?为什么掉线是好事?


-

jmm dash list(at)sohnen-moe(dot)com

(删除.AXSPAMGN用于电子邮件)


这是一个用fusebox架构编写的ColdFusion程序,我只需要发布输出即可。
。这就是为什么所有的&符号和
都在链接中。 Fusebox需要那些告诉它运行什么不是b
$ b。在FireFox中它显示正确的输出,即

它不会丢弃表格10行。这是我想要的行为,但它在IE中无法正常工作。我不希望在屏幕中间有一个大的白色间隙,而是让所有的

信息以合乎逻辑的顺序进行。


CF Albino写道:

[...]在FireFox中,它会显示正确的输出,因为它不会丢弃表格10线。这是我喜欢的行为,但它在IE中无法正常工作。我不希望在屏幕中间有一个大的白色间隙,而是让所有的信息按顺序进行。



你有两个具有相同ID的DIV。这是无效的,因为ID应该是唯一的
。浏览器行为未定义。清理你的代码。


-

jmm dash list(at)sohnen-moe(dot)com

(删除.AXSPAMGN电子邮件)


I am working on converting an app to a CSS layout. I have run the CSS
validation on it and the only errors that appear are ones that
ColdFusion would have fixed. The issue there is a data table with
18-30 columns and a ton of rows. This displays in the right content
div, however it drops 10 lines or so. That part works ok in FireFox,
however this app will only be used on IE. Please help.

Sample page:
http://cf7test.aciwebs.com/brendan/test2.htm

解决方案

br*************@gmail.com wrote:

I am working on converting an app to a CSS layout. I have run the CSS
validation on it and the only errors that appear are ones that
ColdFusion would have fixed. The issue there is a data table with
"Would have fixed"? The errors were not fixed?
Also the HTML is not valid. You are using " />" to close the <meta>
elements which is an XHTML-ism, not valid HTML. There are some syntax
errors. And a slew of un-escaped ampersands in the links.
18-30 columns and a ton of rows. This displays in the right content
div, however it drops 10 lines or so. That part works ok in FireFox,
however this app will only be used on IE. Please help.


You problem description is unclear. It is correct to drop 10 rows in
Firefox? And not in IE? How would we tell? Why are dropped rows a good thing?

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


This a ColdFusion program written in a fusebox schema in which I am
just posting the output. That is why all of the "slew of ampersands"
are in the link. Fusebox needs those to tell it which fuseaction which
to run and what not. In FireFox it displays the correct output in that
it does not drop the table 10 lines. This is the behavior I would
like, however it is not working properly in IE. I do NOT wish to have
a large white gap in the middle of the screen, instead have all the
information proceed in a logical progression.


The CF Albino wrote:

[...] In FireFox it displays the correct output in that
it does not drop the table 10 lines. This is the behavior I would
like, however it is not working properly in IE. I do NOT wish to have
a large white gap in the middle of the screen, instead have all the
information proceed in a logical progression.


You have two DIVs with the same ID. This is invalid since IDs are
supposed to be unique. Browser behavior is undefined. Clean up your code.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


这篇关于CSS Div表比容器更宽:问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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