min
abbr.minute minute;minuto (Portuguese or Spanish=minute) (Portuguese or Spanish) minute;minority minority;miniature small
height
英[haɪt] 美[haɪt]
n.Height; height, altitude; plateau; peak, vertex
plural: heights
javascript minHeight property syntax
Function:Set the minimum height of the element.
Syntax: Object.style.minHeight=length|%
javascript minHeight property example
<html> <head> <meta charset="utf-8"> <script type="text/javascript"> function setMinHeight() { document.getElementById("p1").style.minHeight="200px"; } </script> </head> <body> <p id="p1">这是一些文本,这是一些文本,这是一些文本,这是一些文本</p> <input type="button" onclick="setMinHeight()" value="Set min height" /> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance