操纵div [英] Manipulating divs

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

问题描述

http://firasd.org/


''box''类的div似乎在IE中具有我想要的效果

(即:一致的高度和水平对齐沿着

divs的集合),但它完全在Firebird中分崩离析,就像p'里面的那样...... / b $ b divs独立于div的属性...(看起来没问题,直到我

apply" display:inline;")

什么是正确的方法(我假设Firebird正在显示

正确行为)?

http://firasd.org/

The divs of the ''box'' class seem to have the effect I want in IE
(namely: consistent height and horizontal alignment along the set of
divs), but it totally falls apart in Firebird, like the p''s inside teh
divs are independent of the div''s properties... (looked okay until I
applied "display: inline;")

What would be the proper way (I''m assuming that Firebird is displaying
the proper behaviour)?

推荐答案

Firas D.写道:
Firas D. wrote:
http://firasd.org/

盒子类的div似乎有在IE中我想要的效果
(即:沿着一组
div的一致高度和水平对齐),但它完全属于部分在Firebird中,就像p'里面的那样,divs独立于div的属性......(看起来没问题,直到我申请了display:inline;)
http://firasd.org/

The divs of the ''box'' class seem to have the effect I want in IE
(namely: consistent height and horizontal alignment along the set of
divs), but it totally falls apart in Firebird, like the p''s inside teh
divs are independent of the div''s properties... (looked okay until I
applied "display: inline;")

What would be the proper way (I''m assuming that Firebird is displaying
the proper behaviour)?



页面现在位于 http://firasd.org/tmp-indexbroken.html


The page is now at http://firasd.org/tmp-indexbroken.html


Firas D.写道:
Firas D. wrote:
Firas D.写道:
Firas D. wrote:
http://firasd.org/

盒子类的div似乎在IE中获得我想要的效果
(即沿着
div的一致高度和水平对齐),但它在Firebird中完全分崩离析,就像p'里面的那样> divs独立于div的属性......(看起来没问题我是
应用display:inline;,

什么是正确的方式(我假设Firebird正在显示正确的行为)?
http://firasd.org/

The divs of the ''box'' class seem to have the effect I want in IE
(namely: consistent height and horizontal alignment along the set of
divs), but it totally falls apart in Firebird, like the p''s inside teh
divs are independent of the div''s properties... (looked okay until I
applied "display: inline;")

What would be the proper way (I''m assuming that Firebird is displaying
the proper behaviour)?


该页面现在位于 http://firasd.org/ tmp-indexbroken.html




刚刚发现Opera与Mozilla做同样的事情:(


关闭阅读文档中关于布局的内容(规格令人惊讶地说是可读的),但任何见解都会受到赞赏。



Just found out Opera does that same thing as Mozilla :(

Off to read what the docs say about layout (the spec is suprisingly
readable), but any insights would be appreciated.


在文章Firas D.写道:
In article Firas D. wrote:
Firas D.写道:
Firas D. wrote:
Firas D.写道:
Firas D. wrote:
http://firasd.org/

盒子类的div似乎在IE中具有我想要的效果
(即:沿着一致的高度和水平对齐一套
divs,但它完全在Firebird中分崩离析,就像p'里面一样,divs独立于div的属性......(看起来没问题直到我/> applied" display:inline;")


可能是宽度不适用于内联元素吗?

你可以使用显示:内联表,但它只适用于Opera,

,即使它是正确的处理方法。


CSS21有这个内联块这个,但它并没有被任何

浏览器所支持(包括Opera 7,即使有些人可能会另有说法,实际上,

Opera 7对内联块的支持最差。 )

什么是正确的方法(我假设Firebird正在显示正确的行为)?
页面现在位于 http://firasd.org/tmp-indexbroken.html




Just found out Opera does that same thing as Mozilla :(



关闭阅读文档关于布局的内容(规范令人惊讶地可读),但任何见解都将不胜感激。


Off to read what the docs say about layout (the spec is suprisingly
readable), but any insights would be appreciated.




你可能必须使用浮动,但是这会打破你的页脚我有点理由我看起来很麻烦,你已经知道了。


-

Lauri Raittila< http://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>

Saapi l?hett ?? meili?,jos aihe ei liity ryhm ?? n,tai on yksityinen

tjsp。,mutta?l? L·海特? samaa viesti? meilitse ja ryhm ?? n。



You propably must use float, but that breaks your footer some reason I
didn''t bother look, you propably know that already.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi l?hett?? meili?, jos aihe ei liity ryhm??n, tai on yksityinen
tjsp., mutta ?l? l?het? samaa viesti? meilitse ja ryhm??n.


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

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