How to change the font & color when using Html.TextAreaFor?
Posted
by AWC
on Stack Overflow
See other posts from Stack Overflow
or by AWC
Published on 2010-05-26T09:28:08Z
Indexed on
2010/05/26
9:31 UTC
Read the original article
Hit count: 979
I'm using following code to display some text and it won't change the font color, anyone know why?
<%= Html.TextAreaFor(m => m.Component.ApplicationDescription, new { cols = "40%", Style = new Style { ForeColor = Color.Red } })%>
© Stack Overflow or respective owner