If you need to apply the hasLayout property to an element in Internet Explorer but don’t want to add height or another potentially damaging CSS property, use the proprietry zoom:1;. It is IE only and sets hasLayout to true while adding nothing visually or semantically to the element.
The entry ‘Simply Applying ‘hasLayout’’ was posted in the ‘short’ category on the 4th March, 2006.
There are no comments on this entry.
A randomly selected something that you might enjoy. I may have been involved with some of them.
There are a number of RSS feeds that you can subscribe to if you want to stay up to date with this site.