SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 232 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

13
If you notice that a piece of your content appears and disappears, and sections of
the page only get half-drawn, these are good indications that an element requires a
layout. When the key element gains a layout, the problem miraculously goes away.
In fact, 99% of the Internet Explorer CSS bugs you encounter on a daily basis can
be fixed using a hasLayout fix in the correct place. A hasLayout fix involves nothing
more than declaring a CSS property that causes an element to gain a layout, when
it wouldn??™t ordinarily have a layout by default.
The simplest way for an element to gain a layout is for it to have a dimensional CSS
property applied??”for example, a width or height. However, in situations where
you don??™t wish to apply a specific width or height to the element, there are several
other CSS properties that, when you apply them to the element, will cause that
element to gain a layout.
Those other properties are:
?–  display: inline-block
?–  height: (any value except auto)
?–  float: (left or right)
?–  position: absolute
?–  width: (any value except auto)
?–  writing-mode: tb-rl
13 A detailed description of some examples of these behaviors can be found at the Position Is
Everything web site at http://positioniseverything.


Pages:
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6