tee wrote:
IE/win handles it like Firefox. Gecko and IE have one
interpretation of such float line-ups, and Opera and Safari have
another. I prefer the Op/Saf one since it works well for all cases,
but it's probably the wrong one :-)
'Probably the wrong one' because it's not according to the CSS spec?
The way I read the specs it _is_ in accordance with them...
" The outer top of an element's floating box may not be higher than the
top of any line-box containing a box generated by an element earlier in
the source document. "[1]
...so, a float _may_ line its top edge up with the top of the text-line
- the line-box[2] - preceding it, which is exactly how Opera and Safari
line up those floats.
Gecko and IE line those floats up with the bottom of the preceding
line-boxes, which is easy to see if you modify the line-height.
Two standard compliant browsers handle the same and other two the
opposite; judging from IE's history, it's hard to believe IE would
get it right.
From reading some of the comments in other threads, I think many
designers find it hard to believe that Firefox got it wrong. Maybe
the specs are wrong, or at least difficult to interpret on this point.
Maybe someone should ask for clarification over at the [EMAIL PROTECTED]
regards
Georg
[1]http://www.w3.org/TR/CSS21/visuren.html#float-position
[2]http://www.w3.org/TR/CSS21/visuren.html#line-box
--
http://www.gunlaug.no
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************