textarea { /* for all text* area elements */
resize: none;
}
#foo { /* for particular id */
resize: none;
}
<textarea class="myTextArea"></textarea>
<style>
.myTextArea {
resize: none;
}
</style>
textarea {
resize: none;
}
<asp:TextBox ID="TextBox1" runat="server" TextMode = "MultiLine" style = "resize:none"></asp:TextBox>
You can either apply this as an inline style property like so:
<textarea style="resize: none;"></textarea>
or in between
<style>...</style> element tags like so:
textarea { resize: none; }
Code Example |
---|
Css :: best box shadow |
Css :: css input radio checked |
Css :: center wrapped flex children |
Css :: css prevent text wrap |
Css :: center pop up css |
Css :: how to remove gap between divs |
Css :: css bold |
Css :: call circle icon in html css |
Css :: center an image |
Css :: gradient 3 colors |
Css :: how to change button gradient |
Css :: jquery hover class css not working |
Css :: css animation display none |
Css :: form layout with glassmorphism css |
Css :: the background image properties in css |
Css :: css background offset |
Css :: button type submit css selector |
Css :: how to change the position of a button in css |
Css :: css background image cut off |
Css :: scrollbar css |
Css :: css percentrage minus px |
Css :: css center div |
Css :: css columns |
Css :: animation fade in css |
Css :: border radius color |
Css :: border-color not working |
Css :: add expanding underline on page load css |
Css :: change last character color css |
Css :: background blur css |
Css :: center text in height css |