2
On a ". cshtml" web page I have several Abels declaring the class horizontal form and the class control-label. By default, these classes align right in my project, ie.. implement the property text-align: right, But I need to change the value of this property only for two cases, and I’m not getting, it has no effect.
What I’ve already tried:
CSS
.form-horizontal .control-label .text-left{
text-align: left !important;
}
LABEL
<div class="col-md-6">
@Html.LabelFor(x => x.observacoes, "Observações Internas:", new { @class = "control-label text-left" })
</div>
I’ve also tried assigning ID and using "#" in the CSS class, unsuccessfully assigning directly to the component’s HTML attributes, including "! Import" but it didn’t work.
I answered you in my rss response. Then look there. Search on "media query" in google you think A lot and it’s easy to understand you will see!
– hugocsl