HTML CSS Reference/CSS Attributes and Javascript Style Properties/min height

Материал из Web эксперт
Перейти к: навигация, поиск

"min-height" Example

   <source lang="html4strict">
   

<html> <body>

Cell

</body> </html>


     </source>
   
  


"min-height" is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |currentStyle style | | |runtimeStyle <td> | | |<th> <tr> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"min-height" Possible Values

   <source lang="html4strict">

Possible Values integer A floating-point number followed by a unit designator percentage Percentage of the container element"s minimum height


     </source>
   
  


"min-height" Syntax and Note

   <source lang="html4strict">

Note: An element minimum height. Syntax:

element { min-height: value } elementID.style.minHeight = "value" document.all.elementID.style.minHeight = "value" // IE only


     </source>