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 279 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

If, for example, the height
is set as 150px, and the min-height is set as 60px, the actual height of the element
is 150px, and the min-height declaration becomes redundant:
#example {
min-height: 60px;
height: 150px;
}
In the above example, the height of the element will be fixed at 150px. However,
it??™s acceptable to set min-height and height when the values are different units:
#example {
min-height: 3em;
height: 138px;
}
Here, the min-height declaration is based on em, which means that at some stage
(due to text resizing) the em height may be larger than the 138px height we??™ve set.
In cases such as this, the element will be allowed to expand further than the 138px
height, thus accommodating the resizing of the em-based text.
If the contents of a block require more vertical space than the limits that have been
set, that behavior is defined by the overflow (p. 280) property.
Value
The property takes a CSS length (px, pt, em, etc.) or a percentage. Negative length
values are illegal.


Pages:
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6