IE7, CSS, hasLayout tests and examples

A TripSwitch? - set hasLayout to true without a dimension

Related articles:


..The trip switch in your home works as a safety device for your internal wiring. Faulty appliances or wiring will make the trip activate, and the trip will remain in the off position until the fault is fixed.

[div id="haslayout"] - this div has, hasLayout=true (-1)

    #haslayout {display: inline-block;} /* trigger haslayout for IE>5.0 */
    #haslayout {display: block;} /* put it back to what it should be in separate rule */ 

[div id="normal"] - this div has, hasLayout=false (0)

    #normal {display: block:}