Can't use @Html.LabelFor and <strong> together

i'm working with ASP.Net MVC3 project and i used twitter bootstrap for my project. my problem is when i used keyword to strong my labels it is not working properly. i tried like this

 <strong>@Html.LabelFor(model => model.Author)</strong>

but it display same as before. i dunno the reason..


Found the problem. :) Twitterbootstrap.css made that problem.

label, input, button, select, textarea {
font-size: 13px;
font-weight: normal;
line-height: 18px;

when i changed the font weight it works properly. thanx everybody...

Works on my machine! :)

If you're having any issues with outputting Razor tags, wrap an extra set of parenthesis around it:

<strong>@(Html.LabelFor(model => model.Author))</strong>

Need Your Help

Weird header("Location:"); error

php header

I've done tons of redirects using PHP's header function. This one has stumped me.