hasLayout

December 4th, 2008  |  Published in note to self

Doing some web design and making stuff work for IE is making me crazy.  This is largely in part to the hasLayout property in IE.  On having layout gives a super-helpful rundown. 

I’ve been using the IE Developer Toolbar to help me hunt down some of these problems, and this forum post provided a good clarification:

-1 means haslayout is true, 0 means it’s false

and if you check the box to “show default styles” it will show you the haslayout status regardless of whether it’s explicitly set or not This is proving very useful in finding the child selector override hacks that are breaking