Microsoft KB Archive/185141

= PRB: SIZE Attribute of INPUT tag Has No Effect for Some Types =

Article ID: 185141

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2

-



This article was previously published under Q185141



SYMPTOMS
When developing Web pages for Internet Explorer 4.0, you can create intrinsic controls using the  tag. With the  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.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
  Open a new HTML file and insert the following HTML:         <HTML> </li> <li>Navigate to the Web page created in step 1. You will notice that the size of the button is based on the size of the text in the VALUE attribute.</li></ol>

<div class="references_section">