背景和高度包含div [英] background and height containing div

查看:59
本文介绍了背景和高度包含div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




At: http: //www.sylviastrijk.nl/examenklas/

在Internet Explorer中,我们看到包装div的背景

(#namenlijst)(带列( kolom 1,kolom 2,kolom 3)inside)

就像里面的内容一样。在Firefox中你看不到

包装div的高度,而背景颜色不会延伸到

列的末尾。 Internet Explorer中的视图是理想的视图。可能是什么

FF为#namenlijst div没有高度的原因,我怎样才能让它在FF中工作?


提前致谢

解决方案

Roderik写道:


在: http://www.sylviastrijk.nl/examenklas/ 包装div的高度,背景颜色不会延伸到
列的末尾。 Internet Explorer中的视图是理想的视图。可能是什么原因是FF没有#namenlijst div的高度,我怎样才能让它在FF中工作呢?

提前致谢



任何人?


Roderik写道:

Roderik写道:



在: http:/ /www.sylviastrijk.nl/examenklas/
在Internet Explorer中,我们看到包装div的背景
(#namenlijst)(带有列(kolom 1,kolom 2,kolom 3)在里面)就像里面的内容一样。在Firefox中,您看不到
包装div的高度,背景颜色不会延伸到
列的末尾。 Internet Explorer中的视图是理想的视图。可能是什么原因是FF没有#namenlijst div的高度,我怎样才能让它在FF中工作呢?

提前致谢


任何人?




看看6月22日12点50分的短线程(荷兰语

时间)(GMT + 1)关于主题的相同内容:

div背景在IE中显示正常,但在FF或Netscape中没有显示


-

Els http://locusmeus.com/

Sonhos vem。 Sonhos v?o。 Orestoébritfeito。

- Renato Russo -

现在播放:特斯拉 - 标志


Els写道:< blockquote class =post_quotes> Roderik写道:

Roderik写道:


在: http://www.sylviastrijk.nl/examenklas/ 包装div的高度,背景颜色不会延伸到
列的末尾。 Internet Explorer中的视图是理想的视图。可能是什么原因是FF没有#namenlijst div的高度,我怎样才能让它在FF中工作呢?

提前致谢


任何人?



看看6月22日12月5日(荷兰时间)(GMT + 1)的短线程主题同样的事情:
div背景在IE中表现不错但在FF或Netscape中没有显示




好​​的,我必须在其中清除浮动div最后的内容使它'

背景可见。对我来说似乎仍然是出乎意料的行为,

虽然应该这样定义。


Hi,

At: http://www.sylviastrijk.nl/examenklas/
In Internet Explorer we see the background of the wrapping div
(#namenlijst) (with the columns (kolom 1, kolom 2, kolom 3) inside) as
far as the content inside it. In Firefox you see no height for the
wrapping div and the background-color won''t stretch to the end of the
columns. The view in internet explorer is the desired one. What might be
the reason that FF has no height for the #namenlijst div and how can I
make it to work in FF as well?

Thanks in advance

解决方案

Roderik wrote:

Hi,

At: http://www.sylviastrijk.nl/examenklas/
In Internet Explorer we see the background of the wrapping div
(#namenlijst) (with the columns (kolom 1, kolom 2, kolom 3) inside) as
far as the content inside it. In Firefox you see no height for the
wrapping div and the background-color won''t stretch to the end of the
columns. The view in internet explorer is the desired one. What might be
the reason that FF has no height for the #namenlijst div and how can I
make it to work in FF as well?

Thanks in advance



anyone?


Roderik wrote:

Roderik wrote:

Hi,

At: http://www.sylviastrijk.nl/examenklas/
In Internet Explorer we see the background of the wrapping div
(#namenlijst) (with the columns (kolom 1, kolom 2, kolom 3) inside) as
far as the content inside it. In Firefox you see no height for the
wrapping div and the background-color won''t stretch to the end of the
columns. The view in internet explorer is the desired one. What might be
the reason that FF has no height for the #namenlijst div and how can I
make it to work in FF as well?

Thanks in advance



anyone?



Have a look at the short thread of 22 June 12.05hrs (Dutch
time)(GMT+1) about the same thing with subject:
"div background shows fine in IE but not in FF or Netscape"

--
Els http://locusmeus.com/
Sonhos vem. Sonhos v?o. O resto é imperfeito.
- Renato Russo -
Now playing: Tesla - Signs


Els wrote:

Roderik wrote:

Roderik wrote:

Hi,

At: http://www.sylviastrijk.nl/examenklas/
In Internet Explorer we see the background of the wrapping div
(#namenlijst) (with the columns (kolom 1, kolom 2, kolom 3) inside) as
far as the content inside it. In Firefox you see no height for the
wrapping div and the background-color won''t stretch to the end of the
columns. The view in internet explorer is the desired one. What might be
the reason that FF has no height for the #namenlijst div and how can I
make it to work in FF as well?

Thanks in advance



anyone?


Have a look at the short thread of 22 June 12.05hrs (Dutch
time)(GMT+1) about the same thing with subject:
"div background shows fine in IE but not in FF or Netscape"



Okay, I have to clear floating divs in its last content to make it''s
background visible. Still seems to be unexpected behaviour to me,
although it should be defined that way.


这篇关于背景和高度包含div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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