Hi,
What sets the height of the textbox, line height or font size?
From stackoverflow
-
None
its
heightattribute
<input type="text" class="hei" id="txt1" /> <style> .hei { height: 40px; } </style>font-size: Sets or retrieves a value that indicates the font size used for text in the object.
line-height: Sets or retrieves the distance between lines in the object
-
input { height: 100px; } -
the css option height?
-
If it's
<input type="text" />then it's a combination offont-size,line-heightand any explicitly declaredheightattributes.For
<textarea>it's an explicit height declaration, though I think it's expressed asrowsrather thanheight.enkrs :David Thomas : Guess I should've experimented to work that out, huh? Thanks, enkrs, live and learn... =)
0 comments:
Post a Comment