# CSS’s “hasLayout” and the devil within

> Markdown version of https://brajeshwar.com/2007/csss-haslayout-and-the-devil-within/ — 2007-04-30

# CSS's "hasLayout" and the devil within

We'll know of many CSS dysfunction in Internet Explorer; even the latest version 7.x release from Microsoft is not spared. [HasLayout](https://www.satzansatz.de/cssd/onhavinglayout.html) can a be way to fix such CSS dysfunction in both IE 6 and 7.

Lesson Learnt: Look like one do not need to really do a "hasLayout" with generic selector like "ul li" at all.

If you need to know more about His Evil Majesty [hasLayout](https://www.satzansatz.de/cssd/onhavinglayout.html), someone wrote an endlessly long, boring and tedious article on the subject. It is only about 45 printed pages long! Blame Chris Wilson, [Philippe Wittenbergh](https://emps.l-c-n.com/) for all such an over-sized gem.
