HTML CSS Reference/CSS Attributes and Javascript Style Properties/height
Содержание
"height" Example
<source lang="html4strict">
<html> <body>
<img id="myImg" src="http://www.wbex.ru/style/logo.png" style="width:74; height:100">
<input type="button" value="Reduce height" onclick="myImg.style.height=50"> <input type="button" value="Restore height" onclick="myImg.style.height=100"> </body> </html>
</source>
"height" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | | |
| ||| |<button>
| | | | | |
| |<dir>currentStyle | | |<custom>
| | | || | |
- | | | <embed> | | |<fieldset> | | |<form> <frame> | | |<frameset> <hn> | | |
|| |<iframe> <img> | | |<input type="button"> <inputtype="checkbox"> | | |<input type="file"> <input type="image"> | | |<inputtype="password"> <input type="radio"> | | |<input type="reset"> <inputtype="submit"> | | |<input type="text"> | | | <label> |
| |<legend>- | | |<listing> <marquee> | | |<menu> <nobr> | | |<object>
| | |<option>
| | |
| | |