John M John M - 1 year ago 142
CSS Question

ASP .NET MVC 5 - Decrease the left hand margin

I have created a new ASP .NET MVC application in VS2015 using the default template. My index views are used the default shared _Layout file.

The issue is that the views all have excessive left hand margins with data being pushed off screen on the right.

How can I modify the CSS (bootstrap?) to reduce the left hand margin?

enter image description here


Per the hint from Aravind.

I opened boostrap.css and then modified the css property .pull-left and commented out the float code:

.pull-left {
/*float: left !important;*/

Answer Source

Use pull-left class as

<div class="pull-left"> Application Name </div>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download