less than 1-min read

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 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, 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 for all such an over-sized gem.

← Prev Next →