asp.net - Using an ASP:textbox as a <textarea> -
i'm using asp textbox textarea, recognize rendered html input type=text. has thusfar served intended purpose, exception cannot wrap or start @ top.
here html:
<asp:textbox id="message_box" form="feedback_form" cssclass="contact_input" maxlength="1200" lines="10" cols="10" wrap="true" mode="multiline" runat="server"/>
and css:
#main_box_left form textarea, #main_box_left form .contact_input { margin:0; padding:5px; height:228px; width:453px; max-width:455px; max-height:230px; min-height:230px; font-size:13px; line-height:20px; color:rgb(63,69,73); font-family:arapey; font-weight:lighter; min-width:455px; margin-top:10px; background-color:#fcfcfc; border:1px solid #a9a9a9; border-top:1px solid #191919; border-left:1px solid #191919;
}
the "lines", "cols" , "wrap" tags in asp component seemingly nothing.
if there alternative tag should using text area please advise. if there way wrap text/make start @ top, fantastic well.
change mode="multiline"
textmode="multiline"
render textarea
element
Comments
Post a Comment