Sent by Peter L. Schlueter on 5 July 2004 22:10
Paul and Big John have opined...
>At 11:42 PM 7/4/2004, Big John wrote:
>>What is hasLayout? Nobody outside MS knows, because it is not
>>explained at their site.
For what it's worth: here's the hasLayout page from MSDN.
I love the part where they repeat their mantra, "There is no public
standard that applies to this property."
>>Paul
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/properties/haslayout.asp is a very interesting site. At the
following url...
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/properties/haslayout.asp note the comment "Setting the property to
absolute pulls the object out of the "flow" of the document and positions it
regardless of the layout of surrounding objects. If other objects already
occupy the given position, they do not affect the positioned object, nor
does the positioned object affect them. Instead, all objects are drawn at
the same place, causing the objects to overlap. This overlap is controlled
by using the z-index attribute or property. Absolutely positioned objects do
not have margins, but they do have borders and padding." Very specific in
mentioning that the position absolute is out of the flow. While on ...
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/properties/haslayout.asp
a float is "With a value of left or right, the object is treated as
block-level-that is, the display property is ignored. For example, floating
paragraphs allow the paragraphs to appear side-by-side on a page.
Objects following a floating object move in relation to the position of the
floating object.
The floating object is moved left or right until it reaches the border,
padding, or margin of another block-level object.
div and span objects must have a width set for the float attribute to
render. In Microsoft(r) Internet Explorer 5, div and span objects are
assigned a width by default and will render if a width is not specified."
The Remarks for "Float" make no mention of being out of the flow. , while it
specifically mentions that position Absolute is out of the flow. Is this
the reason for so many late nights figuring out positioning with floats with
IE as opposed to the other browsers?
All in all, a very interesting URL.
Pete
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.715 / Virus Database: 471 - Release Date: 7/4/2004
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/