PRB: SIZE Attribute of INPUT tag Has No Effect for Some TypesID: Q185141
|
When developing Web pages for Internet Explorer 4.0, you can create
intrinsic controls using the <INPUT> tag. With the <INPUT> tag, you specify
the TYPE attribute to indicate the type of intrinsic control. This can be
Button, Checkbox, and so forth. Also, for most controls, you can specify
the size of the control using the Size attribute. However, the Size
attribute does not apply to the Button, Checkbox, Image, Radio, Reset, or
Submit controls.
For those controls that accept text for the Value attribute, such as
Button, Radio, Reset, and Submit, the size of the control is determined by
the size of the text value.
This behavior is by design.
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="Button" SIZE="25" VALUE="Test">
</FORM>
</BODY>
<HTML>
For more information, please see the MSDN Web Workshop:
http://msdn.microsoft.com/workshop/default.asp
Additional query words: kbInetDev kbIE400 kbIE401 kbHTML
Keywords : kbIE400 kbIE401 kbIE500
Version : WINDOWS:4.0,4.01
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 30, 1999