473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Opera 7.54 vs. Firefox 1.0 Preview: Who is right with float:left?

Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and
Firefox 1.0 Preview. Who is right?

In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating
box must be placed as high as possible" (see
http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do you
agree?

BTW, Internet Explorer 6 behaves like Opera 7.54.

Boris
Jul 21 '05 #1
3 2289

"Boris" <bo***@gtemail.net> wrote in message
news:2t*************@uni-berlin.de...
Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and
Firefox 1.0 Preview. Who is right?

In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating
box must be placed as high as possible" (see
http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do you
agree?
"As high as possible" is vague--obviously: otherwise, all floats would start
back up at the top of the page! Box 3 in this case can't start higher than
the "clear" established by Box 2. Once an element has established a "clear",
it seems to me that all following elements are subject to it. You shouldn't
have to keep clearing over and over again--and if you did, the browser would
have no way to know which previous floating elements the current element was
clearing and which ones it wasn't. So, I'd say Opera's wrong.

BTW, Internet Explorer 6 behaves like Opera 7.54.


Jul 21 '05 #2
Boris wrote;
Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and
Firefox 1.0 Preview. Who is right?
Firefox. I have meaned to make clear test case for this to post opera.*
for while, but haven't got time. Can you keep it where it forever? If so,
do. X-posting (put not setting fups, do that) to opera.tech to ask if it
is known bug? (happens in 7.6p1 too)

Box3 should be right of box 2, not box1
In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating
box must be placed as high as possible" (see
http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do you
agree?
It goes against #5. The outer top of a floating box may not be higher
than the outer top of any block or floated box generated by an element
earlier in the source document. Rule 5 is more important than rule #7
BTW, Internet Explorer 6 behaves like Opera 7.54.


As everybody should know, that is irrelevant when thinking what is right
way...

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 21 '05 #3
Lauri Raittila wrote:
Boris wrote;
Please open http://www.highscore.de/opera/floatleft.html in Opera
7.54 and Firefox 1.0 Preview. Who is right?
Firefox. I have meaned to make clear test case for this to post
opera.* for while, but haven't got time. Can you keep it where it
forever? If so, do. X-posting (put not setting fups, do that) to
opera.tech to ask if it is known bug? (happens in 7.6p1 too)


I keep the page there for some while (for some months but not forever).
Box3 should be right of box 2, not box1
In my humble opinion Opera 7.54 is right: According to CSS 2.1 a
"floating box must be placed as high as possible" (see
http://www.w3.org/TR/CSS21/visuren.html#float-position rule #8). Do
you agree?


It goes against #5. The outer top of a floating box may not be higher
than the outer top of any block or floated box generated by an element
earlier in the source document. Rule 5 is more important than rule #7


I see, I agree with you. Then Firefox is right.
BTW, Internet Explorer 6 behaves like Opera 7.54.


As everybody should know, that is irrelevant when thinking what is
right way...


No one claimed that.

Boris
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Jeff Thies | last post by:
I have a series of blocks that are float left that I need centered on the page. <div class="center" align="center"> <div style="width: 100 px;float: left">thumbnail 1</div> <div style="width:...
6
by: Herman Kuiper | last post by:
Hi, The HTML at the end of this message will render erroneously on IE (at least 5.0) and prperly on Mozilla (as I've been told). That does not surprise me, but I *would* like to find some...
2
by: patrick h. | last post by:
Greetings, I am encountering some issues regarding using float while desiring to set the height to 100%. This is likely due to my own misunderstanding of the way things actually function -- any...
0
by: McGeeky | last post by:
Hi. I am using DIVs for lay outs rather than tables but cannot resolve a catch 22. I need to use the float: left so that I can get DIVs to line up in rows however, float : left does not respect the...
0
by: Dessip | last post by:
Hey, The code that follows im having problems with, i think tis the CSS, but i dont have a clue of fixing it, i have tried any things but without the float:Left there is no point the folloing...
1
by: Oliver Block | last post by:
Hello, I am using JavaScript to create a div element as container for severeal other div elements (children). I want those children to appear side-by-side within the container, so I've set the...
0
by: vytas | last post by:
hi, I've just ran into very strange IE behaviour. I have a table with some content: <table width="200" border="1"> <tr> <td width="50%"> <div class="bord" style="float:...
2
dlite922
by: dlite922 | last post by:
The frustrating thing with coding with divs instead of tables is trying to get them to "act" like they're inside each other. I have a container div, and three sub-divs. First contains a plus...
13
by: limelites | last post by:
In IE7, FF, Chrome and Safari, everything looks great but in Opera the display of the additional images in my product page looks awful. This is a site that does attract foreign visitors who do use...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.