Forums - C# Corner

Forum guidelines
Sandy

Sandy

  • 1.2k
  • 613
  • 18.6k

How to apply style in MVC label?

Nov 9 2017 5:32 AM
I just want to apply style like "margin-top :10px" on LabelFor In MVC like below syntax.
 
@Html.LabelFor(m => m.UserName)
 
Any can suggest that how can I do this.

Answers (7)