,
, |
, , ,
, <embed>, <object>, </CODE> <LI><CODE><marquee></CODE> </li></ Ul><p id=prop> Properties </H5><P> The following CSS properties and values will let an element get Layout:</p><dl><dt><code >position:absolute</CODE> <DD> the inclusion block of an absolutely positioned element (containing block) is often problematic in this regard. <DT><CODE>float:left|right</CODE> <DD> The floating model has a lot of weird performance due to the features of the layout element. <DT><CODE>display:inline-block</CODE> <DD> when an inline-level element requires layout, it is often used, which may also be the CSS Property's unique effect--let an element have layout. "Inline-block behavior" is achievable in IE, but very different: Ie/win:inline-block and haslayout. <dt><code>width: Any value </CODE> <DD> when many people encounter layout-related problems, they will usually try to fix them first. <dt><code>height: Any value </CODE> <dd>height:1% is used in Holly Hack. <dt><code>zoom: Any value </CODE> (MSDN) <dd>ms proprietary attribute, cannot pass the checksum. However <CODE>zoom:1</CODE> can be used as a temporary debugging. <DT><CODE>writing-mode:tb-rl</CODE> (MSDN) <dd>ms proprietary genusCannot pass the checksum. </DD></DL><P> in IE7, overflow also becomes a layout trigger:</p><dl><dt><code> Overflow:hidden|scroll|auto</code> <DD> This property has no function to trigger layout in previous versions of IE. <DT><CODE>overflow-x|-y:hidden|scroll|auto</CODE> <dd>overflow-x and Overflow-y are properties in the CSS3 box model and has not been widely supported by the browser. They do not have the ability to trigger layout in previous versions of IE. </DD></DL><P> another IE7 on the screen added a few haslayout actors, if only from haslayout this aspect, Min/max and width/height performance similar, posit Ion's fixed and absolute are identical. </P><DL><DT><CODE>position:fixed</CODE> <dd>./. <dt><code>min-width: Any value </CODE> <DD> even set to 0 allows the element to be layout. <dt><code>max-width: Any value other than none </CODE> <dd>./. <dt><code>min-height: Any value </CODE> <DD> even set to 0 allows the element to be haslayout=true <DT><CODE> Max-height: Any value other than none </CODE> <dd>./. </DD></DL><P> above conclusion with the help of IE Developer Toobar and pre-test. </p>&lT H5 id=inline> about inline-level elements </H5><P> for inline elements, such as <CODE>span</CODE> elements, which can be inline by default, or they can be <CODE> Elements of Display:inline</code>) </P><UL><LI><CODE>width</CODE> and <code>height </CODE> triggers <CODE>hasLayout</CODE> only under ie5.x and IE6 quirks mode. Because in IE6, if the browser is running in standard compatibility mode, the inline element ignores the width or Height property, so setting width or height cannot order the element to have layout in this case. <LI><CODE>zoom</CODE> can always trigger <code>haslayout</code&gt, but is not supported in IE5.0. </LI></UL><P> the element with "layout" if it is also <CODE>display:inline</CODE>, then its behavior is the same as the standard Inline-block is very similar: in the paragraph as normal text in the horizontal and continuous arrangement, affected by vertical-align, and size can be adjusted according to the content of the adaptive. This can also explain why inline elements in Ie/win alone can contain block-level elements that are less problematic because <CODE>display:inline</CODE> is inline in other browsers, unlike Ie/win once inline elements have Layout will also become inline-block. </p><p id=haslayoutprop> Script Properties Haslayout</p><p> We call this haslayout "script properties" to be distinguished from the CSS properties we know well. </P><P> Note Once an element has layout, there is no way to set it to &LT Code>haslayout = false</code>. </P><P> Haslayout-property can be used to detect whether an element has layout: For example, if its <CODE>id</CODE> is "Eid", then as long as the Enter <code Class=c1>javascript:alert (eid.currentStyle.hasLayout) </CODE> in the ie5.5+ address bar to detect its status. </P><P> IE's Developer Toolbar can check the current style of an element in real time; if <CODE>hasLayout</CODE> is true, its value is displayed as "1". We can trigger <CODE>hasLayout</CODE> for debugging by modifying the properties of an element in real time to set Zoom (CSS) to "1". </P><P> Another thing to note is that "layout" affects script programming. If an element does not have "layout", then <CODE>clientWidth</CODE>/<CODE>clientHeight</CODE> always returns 0. This will confuse some novice scripting, and this is not the same as the way Mozilla browsers handle it. But we can use this to detect "layout" in IE5.0: if <CODE>clientWidth</CODE> is 0 then this element has no layout. </p><p id=hack>css hacks</p><p> The following hack for triggering <CODE>haslayout</CODE> has been IE6 And the following versions of the test. Future versions of IE are likely to be treated differently. If the new version of the browser is published, we will reorganize this part of the content. </P><P> John Gallant and Holly Bergevin released in 2003 Holly hack: </p><pre class=code>/* \*/* html. gainlayout {height:1%;} /* */</pre><ul><li> can let any element of ie5+ get layout, in addition to inline elements in standard compatibility mode IE6. <LI> is generally very effective, except in some rare cases, the need to use height:0 Or 1px a little better. <LI> and <CODE>overflow:hidden</CODE> are incompatible unless in IE6 's label compatibility mode (because if the parent element is not set high, then <code>height:1% </CODE> will be changed back to <CODE>height:auto</CODE>). </LI></UL><P> or we can use underscore hack:</p><pre class=code>.gainlayout {_height:0;} </PRE><P> In addition, a more backward-compatible approach is to use conditional annotations (conditional comments): </p><pre class=code><!--[if LTE IE 6]><style>.gainlayout {height:1px;} </style><! It is also a safe and effective way for [endif]--></pre><p> to link an external stylesheet file that is specifically modified for Ie/win in conditional comments: </p><pre Class=code ><link rel= "stylesheet" href= "Allbrowsers.css" type= "text/css"/><!--[if LTE IE 6]><link rel= Stylesheet "href=" Iefix.css "type=" Text/css "/><! [endif]--></pre><p> We are more inclined to use <code>height:0</code> and <code>1px</code>--and advocates always use <CODE>height</CODE> unless it conflicts with something else (<CODE> overflow:hidden</code>). For values, we tend to avoid <CODE>1%</CODE>, as it may (albeit rarely) cause some problems. </P><P> one of the things to be aware of is that if we want an element to remain inline, then we can't use <CODE>height</CODE>, and then we can use <code>display: Inline-block</code>. We only use <CODE>zoom:1</CODE> to avoid some rendering errors during the early commissioning phase. </P><P> we have seen some of the Holly hack really as holy (sacred) hack blindly use, such as the use of floating elements or for elements that already have a specific width to use this hack. Remember that the purpose of this hack is not to add a height to an element, but to trigger <code>haslayout = true</code>. </P><P> do not set layout:<code>* {_height:1px for all elements;} </CODE>. The so-called overkill, get layout does not mean to get a panacea, it is only used to change the rendering mode. </p><p Id=hackmanagement>hack finishing </H5><P> But the browser will always change, we need to face a lot of problems, such as some rely on IE6 bugs do hack will be in IE7 Or a later version of the new browser due to bug fixes (or even harmful) problems, such as the new version of the browser similar layout bug still exists but for hack filter such as <code>* html</code> does not work properly. In this case, the MS proprietary properties <CODE>zoom</CODE> can be considered for use. </P><pre class=code><!--[if LT ie 7]><style>/* ie 6 + IE5.5 + IE5.0 style */.gainlayout {height:0;} </style><! [endif]--><!--[If IE 7]><style>.gainlayout {zoom:1;} /* or anything else that may be needed later */</style><! [endif]--></pre><ul><li><code>zoom:1;</code> can let any element of IE5.5+ (including inline elements) get layout, However, it is not valid in IE5.0. <LI> no other side effects (inline elements become inline-block, of course). <LI> If you need to pass validation, you should use conditional comments to hide <CODE>zoom</CODE>. </LI></UL><P> in fact, when we consider "backwards compatibility" is very contradictory, we strongly recommend that the page designer back to look at their own pages with the obvious or not obvious "hacks", Use conditional annotations to re-process against different browsers to be foolproof. </p><p id=iemac> about IE mac small problem </H4><P> ie mac and Windows IE is a completely different two things, they have their own rendering engine, IE Mac is completely I do not know "haslayout" (or contenteditable) so-called What. In contrast, IE Mac render engine to be more standard compatible point, such as <CODE>height</CODE> is treated as <CODE>height</CODE>, no other effect. So hacks and other solutions for "haslayout" (especially by using <CODE>height</CODE> or <CODE>width</CODE> properties) tend to be for IE Mac is harmful, so it needs to be hidden from it. More about IE Mac related issues can be found in IE Mac, bugs and oddities pages. </p><p ID=DOCU&GT;MSDN Documentation </H4><P> MSDN There are few places to haslayout this MS attribute, and there are few specific explanations for the relationship between layout and IE rendering models and less. </P><P> in IE4, almost all elements have some kind of layout (MSDN), except that they do not have an absolute positioning or a wide, high inline element. In this early layout concept, like <code>border, margin, padding</code> these properties are called "Layout properties" and they cannot be applied to a simple inline element. In other words, "have layout" can be roughly understood as: "Can have these several properties." </P><P> still uses the Layout property on MSDN, but the meaning is changed, and they have nothing to do with the elements that have layout. This proprietary attribute of MS has been introduced in IE5.5 <code>haslayout</code> it's just some sort of internal sign. </P><P> in IE5.5, MSHTML Editing Platform (that is, you can set <code><body Contenteditable=true></code > To allow users to edit, drag, and resize the layout elements in real-time, as well as describe three important features related to layout: </p><blockquote title= "from the MSDN specification: Editing Platform "cite=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmshtml/html/ mshtmleditplatf.asp><p> If there is content in a layout element, the layout of the content is determined by its bounding rectangle. </P><P> Having layout means basically representing an element.is a rectangle. </P><P> internally, having layout means that an element is responsible for drawing its internal content. </p></blockquote><p class=blockquotesource> (Editing Platform) </P><P> and layout The internal work mechanism itself was not documented until August 2005, when Markus Mielke [MSFT] opened the door to further discussion due to the WEB standards Project and Microsoft's Special working Group:</p> <blockquote title= "from the MSDN Specification: Filters and Transitions" cite=http://msdn.microsoft.com/library/default.asp?url=/ Library/en-us/ietechcol/cols/dnexpie/expie20050831.asp><p> in general, in the DHTML engine of Internet Explorer, Elements are not responsible for their own location arrangements. Although a div or a P element has a position in the source code, there is a position in the document flow, but their contents are arranged by their nearest layout ancestor (often the body). These elements rely on the layout of their ancestors to handle a lot of heavy work such as sizing and measuring information. </p></blockquote><p class=blockquotesource> (haslayout overview) </p><p id=interpr> Analysis </ H4><p> Our analysis attempts to explain what is going on in a known case, this analysis should also be used as a guide under unknown cases. But the black-box test that we're trying to use in a variety of test cases is destined to eliminate the mystery of the black box-we can't answer the question of "why". We can only try to understand the working framework of the entire "haslayout" model and how it will affect the rendering of Web documents. As a result, we can only provide some <EM> guidelines </EM> (and only guidelines, not absolute solutions) in the end. </p>&Lt P> What we think they are referring to is a small form. The internal content of a layout element is completely independent, and it cannot affect anything outside its bounds. </P><P> MS attribute layout is just some sort of flag: once it is set, this element will have its own special layout "feature", which includes floats, floats, stacks, and layers that manifest itself and its non-layout children. Count and so on many aspects of the special performance. </P><P> This independence may explain why layout elements are generally stable, and they can make some bugs disappear. The cost of this situation is two, one deviation from the standard, and the other is that it does not take into account the possible future bugs and problems. </P><P> MS's "page" mode, from the perspective of semiotics, can be seen as a lot of unrelated small blocks, and the HTML and web-based model that the "page" mode should be narrative complete, the story of the relevant information block composition. </p><p id=rev> Detailed description of various situations </p><p id=clear> clear float and auto scale fit height </H5><P> floating elements will be layou element is automatically included. This is a common problem for many novices: a page completed under IE has been stretched out of its containment container by all non-cleared floating elements under the standard compatible browser. </p><ul><li>containing floats <li>how to clear floats without structural markup </LI>< /ul><p> the opposite: what if a floating element is really needed to extend its containing container, that is, to automatically include an effect that is not desired? You are likely to have this headache as well, as an example of this in-depth discussion: </p><ul><li>acidic float tests </LI></UL><P> In IE, a floating element is always "subordinate" to its layout containing the container. The latter element is affected by the layout containing the container, not the floating element. </P><P> this feature and the IE6 auto-expansion to accommodate internalThe nature of the content width can be seen as being affected by this rule: "It is determined by its bounding rectangle." </P><P> worse problem:<code>clear</code> cannot affect the float element outside its layout containing the container. If the page that relies on this bug to layout in IE goes to the standard compatible browser, only redo it all. </P><P> See the section "similar to CSS specifications" in this article for more information. </p><p id=nextfloat> The element next to the floating element </H5><P> when a block-level element immediately follows a left-floating element, The text content should be arranged in the right order of the floating elements and will slide below the floating element. But if this block-level element has layout, for some reason the width is set, then the layout element will appear as a rectangle, where the text does not slide below the floating element. Its width is also calculated incorrectly-starting from the right of the floating element, so if it is set to <CODE>width:100%</CODE> it will cause the width of the block to appear with the width of the floating element and the horizontal scroll bar. This is a far cry from what is described in the specification. </P><P> similar to this, the relative positioning element adjacent to the floating element, its position offset should refer to the parent element's filler (padding) edge (for example,<code>left:0;</code> A relative positioned element should be stacked above the floating element in front of it. In IE, the offset <CODE>left:value;</CODE> is calculated from the edge of the floating element's right margin (margin), which results in horizontal misalignment due to the variation in the width of the floating element (a workaround is to use the <code >margin-left</CODE>, but also note that there are some weird problems when using a percent score. </P><P> according to the specification, the floating element should be combined with the box <EM> interleaving </EM>. This is not possible for rectangles in two-dimensional spaces that do not intersect. </P><P> can (again) visit the following page: </p><ul><li>tHree Pixel Text-jog </LI></UL><P> We can see that the layout element following a floating element does not show the bug of this 3px gap, because the 3px hard edges of the floating element's periphery cannot affect a The inner content of the layout element, so this hard edge pushes the entire layout element right 3px. Like a shield, layout can protect its internal content from being affected, but the power of the floating element pushes the entire shield away. </P><P> more about this section of this article, "and the CSS specification," </p><p id=list> list </H5><P> either the list itself (< Code>ol, ul</code>) or a single list element (<CODE>li</CODE>), having layout will affect the performance of the list. Different versions of IE have different performance. The most obvious effect is on the list symbol (the problem will not be affected if your list customizes the list symbol). These symbols are likely to be attached to the list elements by some internal mechanism (usually attached to them). Unfortunately, because they are added through the "internal mechanism", we cannot access them or correct their error performance. </P><P> The most obvious effect is that after the:</p><ul><li> list is given layout, the list symbol disappears or is placed in a different or incorrect position. </LI></UL><P> sometimes they can be re-emerged by changing the margins of the list elements. This seems to be the result of the fact that the layout element will attempt to cut out internal content beyond its bounds. </P><UL><LI> list elements Get layout, there will be the same problem as above, more references (extra vertical space between list items) </li>& Lt;/ul><p> A further problem is that any list element with layout appears to have its own independent counter (in a sequential list). For example, we have an ordered list with five list elements, and only the third list element has layout. We're going to see this:</p><p>. 1 ... 2 ... 1 ... 4 ... 5...</p><p> In addition, if a list element with layout is displayed across rows, the list symbol is aligned at the bottom (not the expected top). </P><P> Some of these issues cannot be resolved, so it's best to avoid having lists and list elements get layout if you need list symbols. If you need to limit the size, it is better to set the size of other elements, such as to the entire list of elements and set its width, or for example, the content of each list element to set the height and so on. </P><P> Another common problem with the list in IE is when something in <CODE>li</CODE> is a <CODE>display:block</CODE> Anchor Point (anchor). In this case, the spaces between the list elements will not be ignored and will usually appear as an extra line sandwiched between each <CODE>li</CODE>. One way to avoid this extra whitespace in vertical direction is to assign these anchor layout. Another benefit is that the rectangular area of the entire anchor point can respond to mouse clicks. </p><p id=tab> table </H5><P> <CODE>table</CODE> always has layout, it always behaves as an object with a defined width. In IE6,,<code>table-layout:fixed</code> is usually the same as a table with a width of 100%, and this also poses many problems (some computational errors). There are also other situations that need to be noted in the quirks mode of IE5.5 and IE6. </p><p id=rp> relative positioning elements (R.P.) </H5><P> Note that <CODE>position:relative</CODE> does not trigger Haslayout, so many rendering errors, such as content disappearing or misplaced, can be caused. These phenomena can occur when you refresh the page, resize the window, scroll the page, select content, and so on. The reason is that when IE offsets the element from this attribute, it seems to forget to signal that the child elements of the layout are "redrawn" (and if it is a layout element, in the signal chain where it redraws the event, thisA signal passed to their child will be sent normally). &LT;/P&GT;&LT;UL&GT;&LT;LI&GT;R.P. Parent and disappearing floated child <li>disappearing List-background bug </LI></UL><P> above is a description of some of the related issues. As a experience of experience, it's best to give layout when you position an element relative to it. Again, we also need to check whether the parent element with this structure needs layout or <CODE>position:relative</CODE> or both, and it is important if the floating element is involved. </p><p id=cb> Absolute Positioning Element (A.P.):<br><span> contains chunks, what is the containing chunk? </SPAN></H5><P> Understanding the inclusion block concept of CSS is important, and it answers the question of where the absolute positioning element is relative to the location: the containing block determines the starting point of the offset, and contains a calculation reference that defines the percentage length of the chunk. </P><P> for an absolutely positioned element, the containing chunk is determined by its nearest location ancestor. If none of its ancestors are located, use the initial include block <CODE>html</CODE>. </P><P> normally we will use <CODE>position:relative</CODE> to set any included blocks. That is to say, we can make an absolute positioning element reference to the origin and length, etc. do not depend on the order of the elements, this can meet such as "content first" the accessibility concept of the need, but also to the complex floating layout convenience. </P><P> However, due to the concept of layout, the effect of this design concept in IE will have to hit a question mark. Because the absolutely positioned element in IE is offset relative to its nearest <em>layout location </EM> ancestor, the percentage size is the next <em>layout</em of the layout-positioned ancestor. > Ancestors calculated. Note the small difference here, and the mention of <code>position:relative</code> is not triggered by haslayout. </P><P> Suppose a non-layout parent element is relatively positioned-we have to assign it to layout to make the offset work: </p><ul><li>absolutely Buggy II </LI></UL><P> Suppose an unnamed parent element requires a specific size, and the page design is based on a percentage width--We can abandon the idea because the browser is poorly supported:</p>< Ul><li>absolutely positioned element and percentage width </li></ul><p id=filter> filter </ H5><p> MS Proprietary Filter Properties filter is applicable only to layout elements. Some filters extend the bounds of an object. They reveal their own peculiar flaws. </p><p id=reflow> reflow of rendered elements (Re-flow) </H5><P> when all elements have been rendered, if there is a change caused by the mouse passing (such as a link < code>background</code> changes), IE will rearrange its layout containing chunks. Sometimes some elements will be placed in a new position, because when the mouse through the occurrence, IE has been aware of all the relevant elements of the width, offset and other data. This does not occur when the document is first loaded, and the width is not determined due to the feature of auto-expansion. This situation causes the page to jump when the mouse passes. </p><ul><li>jump on:hover <li>quirky percentages:the reflow </LI></UL><P> These bugs related to reflow problems can cause a lot of trouble with the flow layout of percent margins and fillers. </p><p Id=bgorigin> Background Origin </H5><P> Ms Proprietary This haslayout also affects the positioning and expansion of the background. For example, according to the CSS specification,<code>Background-position:0 0</code> should refer to the element's "padding edge (padding edges)". And under Ie/win, if <code>haslayout = false</code> refers to "border edge (Border edge)", when <code>haslayout=true</ Code> refers to the filler edge: </p><ul><li>background, Border, Haslayout </li></ul><p id= uncollapse> margin overlap </H5><P> <CODE>hasLayout</CODE> will affect the margin overlap of a box and its descendants. According to the specification, if a box does not have a padding and a top border, its top margin should overlap with the top margin of the first child element in its document flow: </p><ul><li>collapsing Margins <LI> Uncollapsing Margins </LI></UL><P> in Ie/win if this box has layout then this phenomenon will not happen: it seems to have layout Will prevent their child's margins from sticking out of the containment container. Also, when <code>haslayout = True </CODE>, there is a problem with margin calculation errors, whether it contains a container or a child element. </p><ul><li>margin collapsing and Haslayout </li></ul><p id=link> block-level links </p ><P> Haslayout affects a block-level linked mouse response area (clickable area). Usually haslayout = False when only the text coverage area can respond. Haslayout = True will respond to the entire block area. Any block-level element that adds events such as Onclick/onmouseover also has the same phenomenon. </p><ul><li>blockAnchors and Haslayout </li></ul><p id=inpage> using the keyboard in the page: Explore </H5><P> When you use tab to navigate through the page, If you enter a page link (in-page link), then press the <KBD>tab</KBD> button will not continue to normal: </p><ul><li>haslayout Property characterizes IE6 Bug <li>keyboard Navigation and Internet Explorer </LI></UL><P> <k The Bd>tab</kbd> key will bring the user to the first target (which is usually wrong) in its nearest layout ancestor (if this ancestor was made by <code>table</code>, <CODE> Div</code&gt, <CODE>span</CODE> or some other label). </p><p id=stack> Stacking, layering and layout </H4><P> Ie/win appear to have two levels of layering and stacking order:</p><ul><li> One is the pattern of (pseudo) attempts to adopt CSS: Effect of Z-index value to RP and AP blocks <LI> There is also a "contenteditable" by "Haslayout" and his twin brother The stacking order in which the behavior occurs. As shown in the relative positioning example above, stacking under the influence of layout is like the masterpiece of Harry Houdini, the Magician, who became famous as a card trick. </LI></UL><P> two stacking modes are incompatible, but coexist in the IE rendering engine. Experience: When debugging, both situations need to be taken into account. We may see problems regularly in drop-down menus or similar complex menus, as they often involve a lot of headaches such as stacking, positioning, and floating. Lay the elements that z-index positionedOut is a possible remedy, but not limited to this, just a reminder. </p><p id=contenteditable> Chaotic contenteditable</p><p> If you give an HTML tag setting <CODE> The Contenteditable=true</code> property, such as <code><body Contenteditable=true></code&gt, will allow the element and its Layout sub-elements for real-time editing, drag to change the size and other operations. You can use this attribute on a floating element or a layout list element in a sequence table to see the effect. </P><P> to manipulate elements (edit them), "contenteditable" and "haslayout" for those <CODE>hasLayout</CODE> returns < The elements of code>true</code> introduce a separate set of stacking orders. </P><P> Editing Platform inherited the layout concept, the layout of the misunderstanding is due to contenteditable and can be used as proof ( Some application software that integrates the IE editing engine in some way implies some kind of forced backward compatibility with the layout concept. </p><ul><li>more on contenteditable </li></ul><p id=engineer> and CSS specifications similar places </ H4><p> your MSIE page is a mess in another browser? We don't need to let that happen. If used properly, any good browser can MSIE the page--as long as you use some of the correct CSS. </P><P> using <EM> subtle </EM> similarities between <CODE>hasLayout</CODE> and "new block-level format content", There are several ways we can re-implement the "include floating element" effect <CODE>hasLayout</CODE> in a standard compatible browser, and some "floatingThe element next to the moving element "is unique to the effect. </p><ul><li>reverse Engineering Series <li>simulations &LT;/LI&GT;&LT;/UL&GT;&LT;H4 id= Quirk>quirks mode </H4><P> Some doctype, or <CODE><xml></CODE> declaration, "Quirks mode" is triggered in IE6 or backward compatibility mode. In this mode, IE6 is like IE5.5, and has the same bug as his brother, the same problem and the same behavior. </P><P> for the ie7,<code><xml></code> declaration no longer changes the rendering mode; to trigger the quirks mode, we have to insert a comment. (IE7 quirks mode and IE6 quirks mode are still to be verified) </p><pre class=code><?xml version= "1.0" encoding= "Utf-8"? >& lt;! -- ... Let IE7 run in quirks mode--><! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" ></ PRE&GT;&LT;H4 id=conclusion>layout-Conclusion </H4><P> the entire Layout concept and some basic CSS concepts are incompatible, i.e. include, arrange, float, position and cascade. </P><P> due to elements on the page or with or without layout, the behavior of Ie/win will be inconsistent with the CSS specification. </p><p id=bottomline> have layout-another engine? </p><blockquote title= "Dean Edward some notes about IE7" cite=http://dean.edwards.name/ie7/notes/#layout ><P> IE's object model seems to be a blend of document models and their traditional application models. I mentioned this because it is important to understand how IE renders pages. The switch from the document model to the application model is to give an element "layout". </p></blockquote><p class=blockquotesource> (Dean Edwards) </P><P> Sometimes it's impossible to explain something: like Haslayout, it chooses two different rendering engines depending on its state, and each has its own bugs and quirks. </p><p id=absurd> bug</p><blockquote title= "Molly said ..." cite=http://www.gunlaug.no/ Contents/molly_1_15.html><p> software bugs are caused by human errors in the process of making integrity and logic issues poorly conceived. This is the inherent flaw of mankind, there is no good solution at present. </P><P> also because of this flaw, any attempt to fix bugs without rewriting the software will inevitably lead to more complex bugs in the software. </P><P> all software that relies on other software-including, of course, dependent on the operating system-will also rely on their bugs. So we get a bunch of bugs from all the associated software, which also means it's almost impossible to find a bug-free software. </p></blockquote><p class=blockquotesource> (Molly, the cat?) </P><P> This article was created on June 30, 2005 and last modified on April 2, 2006. <li ><i class= "Layui-icon" >& #xe63a; |