浮动是FF [英] Floating is FF
问题描述
亲爱的,
我在WordPress上有一个网站,其主题完全适用于IE6。
然而,一旦我开始用它来解决它FF,Opera和IE7 I
foudna一些东西。
主要:
似乎是一个adSense块(仅限)当它是120 x 600!时,请注意!)
似乎没有正确定位。
我有一个显式的div(在div内部)调整
块的位置:
< div style =" float:right;显示:内联;宽度:120像素;身高:600px;
填充:5px;"> Adsence block< / d>
然而,FF似乎对自身和职位有很多想法< div>
好像它有显示:阻塞而不是内联,所以应该在块周围浮动的文本实际上移动到下面(这更有意义
for Adsence,但对用户和我来说更少)
Dopes任何人有任何想法如何解决它
Dear all,
I have a site on WordPress with a theme that perfectly works for IE6.
However, as soonas I started cheking it with FF, Opera and IE7 I
foudna few things.
Of the major:
It seems that a adSense block (only when it is 120 x 600!, mind me!)
does not seem to position correctly.
I have a div that explicitly (that is inside the div itself) adjusts
the position of the block:
<div style="float:right; display:inline; width:120px; height:600px;
padding:5px;">Adsence block</d>
However, FF seems to think a lot about itself and positions the <div>
as if it has display:block rather then inline, so the text that should
float around the block actually moves below (which makes more sense
for Adsence, but less for the users and for me)
Dopes anyone have any ideas how may I fix it
推荐答案
文章
< 11 ********************* @ j4g2000prf.googlegroups.c om>,
ioni< ki ****** @ gmail.comwrote:
In article
<11*********************@j4g2000prf.googlegroups.c om>,
ioni <ki******@gmail.comwrote:
亲爱的,
我在WordPress上有一个网站,其主题完全适用于IE6。
然而,我很快就开始用FF,Opera和IE7进行检查我只需要很少的东西。
主要:
似乎是一个adSense块(仅当它是120 x时600!,记住我!)
似乎没有正确定位。
我有一个明确的div(在div内部)调整
街区的位置:
< div style =" float:right;显示:内联;宽度:120像素;身高:600px;
填充:5px;"> Adsence block< / d>
然而,FF似乎对自身和职位有很多想法< div>
好像它有显示:阻塞而不是内联,所以应该在块周围浮动的文本实际上移动到下面(这更有意义
for Adsence,但对用户和我来说更少)
Dopes任何人有任何想法如何解决它
Dear all,
I have a site on WordPress with a theme that perfectly works for IE6.
However, as soonas I started cheking it with FF, Opera and IE7 I
foudna few things.
Of the major:
It seems that a adSense block (only when it is 120 x 600!, mind me!)
does not seem to position correctly.
I have a div that explicitly (that is inside the div itself) adjusts
the position of the block:
<div style="float:right; display:inline; width:120px; height:600px;
padding:5px;">Adsence block</d>
However, FF seems to think a lot about itself and positions the <div>
as if it has display:block rather then inline, so the text that should
float around the block actually moves below (which makes more sense
for Adsence, but less for the users and for me)
Dopes anyone have any ideas how may I fix it
显示的内容是什么:指定此浮点数时内联;
浮点数本质上是一个特殊的内联函数?你为什么用< / dinstead of right< / div>
关闭
-
dorayme
What is your point in display: inline when specifying this float;
floats are a special inline thing by nature? And why do you close
with </dinstead of the correct </div>
--
dorayme
ioni写道:
ioni wrote:
>
< div style ="浮动:权利;显示:内联;宽度:120像素;身高:600px;
填充:5px;"> Adsence block< / d>
然而,FF似乎对自身和职位有很多想法< div>
好像它有显示:阻止而不是内联
>
<div style="float:right; display:inline; width:120px; height:600px;
padding:5px;">Adsence block</d>
However, FF seems to think a lot about itself and positions the <div>
as if it has display:block rather then inline
如果您阅读规格,您会看到Firefox和其他非IE浏览器
做对了。
http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo
如果您错过了,显示:内联应计算为显示:block
If you read the specs, you''ll see that Firefox and other non-IE browsers
get it right.
http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo
In case you miss it, display:inline should be computed as display:block
Dopes任何人都有任何想法如何解决它
Dopes anyone have any ideas how may I fix it
发布一个URL,以便我们可以看到实际情况。不要发布代码。
-
Berg
Post a URL so we can see what the real situation is. Do not post code.
--
Berg
19,16:16, Bergamot< berga ... @ visi.comwrote:
On 19 , 16:16, Bergamot <berga...@visi.comwrote:
ioni写道:
ioni wrote:
< div风格= QUOT;浮动:右;显示:内联;宽度:120像素;身高:600px;
填充:5px;"> Adsence block< / d>
<div style="float:right; display:inline; width:120px; height:600px;
padding:5px;">Adsence block</d>
然而,FF似乎对自己有很多想法,并将< div>
定位为好像已显示:块而不是内联
However, FF seems to think a lot about itself and positions the <div>
as if it has display:block rather then inline
如果您阅读规格,您会看到Firefox和其他非IE浏览器
得到它对。 http://www.w3。 org / TR / CSS21 / visuren.html#dis-pos-flo
如果您错过了,显示:内联应计算为display:block
If you read the specs, you''ll see that Firefox and other non-IE browsers
get it right.http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo
In case you miss it, display:inline should be computed as display:block
Dopes任何人有任何想法如何解决它
Dopes anyone have any ideas how may I fix it
发布一个URL,以便我们可以看到真实的情况是。不要发布代码。
-
Berg
Post a URL so we can see what the real situation is. Do not post code.
--
Berg
亲爱的,>
我已经尝试过gazilion时代了..
好吧,我把这个块放在了课堂上,Google600。
如果block没有对Adsence的JavaScript refence,那么它就可以在任何浏览器中完美定位。
一旦我把adsence块放回去 - div就会停止行为
应该...
我现在已经完全失去了一个星期!
嗯,这是样本页面 - 请自行检查..
http:// sunshine。 by / category / books / must_read /
我非常感谢你的帮助!
Dear all,
I have tried it gazilion times..
Well, I position the block with class, Google600.
If the block does not have the JavaScript refence to Adsence, then it
positions perfectly in any browser.
As soon as I put the adsence block back - the div stops behaving as it
should...
I am totally lost for a week now!
Well, this is the sample page - so check for youself..
http://sunshine.by/category/books/must_read/
I would very much appreciate the help!
这篇关于浮动是FF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!