applying CSS in multiline textbox of

I have seen many time whenever we try to apply css classes to the the multi line text of It does not work.

It may happened due to the browser treat that text box as the text area. So you can do it with defining text area element in css and it will automatically apply to the multi line text box.

For example.
text area
border:#CCCCCC 1px solid;

If still it is not working that you can set directly attributes with property such as font,font size etc.


  1. take the space out of text area:

    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 12px;

    1. evn after removing space this is not working

    2. Can you provide me example or source code?


Post a Comment

Your feedback is very important to me. Please provide your feedback via putting comments.

Popular posts from this blog

How to create Rest API(Web API) with ASP.NET Core 1.0

Creating PDF with ASP.Net MVC and RazorPDF

Solution: gulp is not recognized as internal or external command- Visual Studio