Posts

Showing posts with the label stylesheet

Size attribute for an input field not being honored

Size attribute for an input field not being honored Taken directly from W3Schools: Definition and Usage The size attribute specifies the width of an input field. For <input type="text"> and <input type="password"> , the size attribute defines the number of characters that should be visible. For all other input types, size defines the width of the input field in pixels. <input type="text"> <input type="password"> So.. If that is true why is my field <input type="text" size="2"/> wide enough to display 5 CAPTIAL MMMMM's ? <input type="text" size="2"/> people hate w3schools so much..i think they are "bad" but not that "bad" – Benny Tjia Jul 14 '11 at 20:52 Update...