John M John M - 2 months ago 11
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;*/


Use pull-left class as

<div class="pull-left"> Application Name </div>