Click here to Skip to main content
15,741,818 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In order to stop the textbox width and height expansion by mouse pulling I used resize:none. It works but in the code it is underlined in red color and does not throw any error. AT the same time whenever there is anyother error appearing, this resize:none also joins with the error list.
Is there any correction to be made for safer side.

<asp:TextBox ID="TextBox8"     AutoPostBack="true"  runat="server" Textmode="multiline" width="644"  ForeColor="White" BackColor="DarkSeaGreen" Height="69"
                     style="z-index: 1; margin-top:6px; resize:none; left:1px"

Updated 27-May-13 23:52pm

1 solution

Resize is CSS3 property and Visual Studio use CSS 2.1.
So, it validates that it is not a known property.

And this error is completely fine. No problem.

But if you have problems in building the project, then you need to by-pass these errors by just treating them as warnings.

To do that, refer - CSS 2.1 errors: not a known property name[^].
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900