HTML CSS Reference/CSS Attributes and Javascript Style Properties/width
Содержание
"width" Example
<source lang="html4strict">
<html> <body> <img id="myImg"
src="http://www.wbex.ru/style/logo.png" width="132">
<input type="button" value="Shrink image" onclick="myImg.style.width="20"">
<input type="button" value="Restore image" onclick="myImg.style.width="132"">
</body>
</html>
</source>
"width" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | | |
| ||| |<button>
| | | | | |
| |<dir>currentStyle | | |<custom>
| | | || | |
- | | | <fieldset> | | | <form> | | |<hn>
|| | | | | <label> |
| |<legend>- | | |<listing> <menu> | | |<nobr>
| | |<option>
| | |
| | |