Prev | Current Page 229 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

10 Firefox, Opera, and Safari have all implemented versions of this property,
which you can read more about in -moz-box-sizing (p. 375).
The Internet Explorer hasLayout Property
In a perfect world, we shouldn??™t need to know anything about the hasLayout
property??”after all, it??™s an internal component of the Windows Internet Explorer
rendering engine. Its effect, however, is far reaching, and has major consequences
for the appearance and behavior of elements, affecting how an element bounds its
content and reacts with its neighbors.
This topic is solely concerned with Internet Explorer for Windows.
10 http://www.w3.org/TR/css3-ui/#box-sizing
159 CSS Layout and Formatting
What Is the hasLayout Property?
In Internet Explorer, an element is either responsible for sizing and arranging its
own contents, or relies on a parent element to size and arrange its contents.
In order to accommodate these two different concepts, the rendering engine makes
use of a property called hasLayout that can have the values true or false for the
element concerned.


Pages:
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241