title: What is haslayout?
body: <p>I've read some article on it but didn't get what is actually. can anyone on SO explain me.</p>
  
  <p>Is it only related to IE6 only?</p>
  
  <p>What does <code>zoom:1</code>?</p>
  
  <p>Is <code>layout</code> is a IE only TAG?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I found this info very informative for me</p>
  
  <blockquote>
    <p>Because Internet Explorer is so old
    (as it was one of the first browsers
    available), it hasn’t had the luxury
    of starting anew as current browser
    do. So as time went by, Microsoft
    began adapting new engines to make use
    of CSS. Seems fine… However, CSS
    changes the fundamental assumption
    that Internet Explorer’s engine is
    based on – that anything significant
    is a rectangle that contains all its
    content.</p>
    
    <p>So to deal with the new standards of
    CSS, Microsoft decided to fix their
    ancient engine by implementing the
    hasLayout property, instead of
    rebuilding IE. Every element in
    Internet Explorer now has a hasLayout
    property. Depending on the element, it
    is set to either true or false by
    default. If hasLayout is set to true –
    the element is an independent box that
    is responsible for rendering itself.
    If false – then the element relies on
    a parent element that has hasLayout
    set to true to render it. This is
    where a majority of IE bugs come to
    life.</p>
  </blockquote>
  
  <p>source: <a href="http://bytesizecss.com/blog/post/fix-haslayout-with-one-line-of-css" rel="noreferrer">http://bytesizecss.com/blog/post/fix-haslayout-with-one-line-of-css</a></p>
  
  <p>I found one more discussion here also : <a href="http://www.molly.com/2007/03/30/back-to-work-someone-please-clearly-articulate-haslayout/" rel="noreferrer">http://www.molly.com/2007/03/30/back-to-work-someone-please-clearly-articulate-haslayout/</a></p>