By help of this helpful link I push footer at the bottom of all of my pages in asp MVC. I made a stylesheet named mystyles and define .wrapper and .footer and .push and in the _layout in tag of body and html I define style="height:100%" and use wrapper, footer and push like in the following but it display scrollbar how can I solve it that footer display a little higher that scrollbar does not show.
<!DOCTYPE html>
<html style="height:100%">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
@Styles.Render("~/Content/myStyles.css")
</head>
<body style="height:100%">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data- toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
@Html.ActionLink("myapp", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>@Html.ActionLink("home", "Index", "Home")</li>
</ul>
@Html.Partial("_LoginPartial")
</div>
</div>
</div>
<div class="container-fluid body-content">
@RenderBody()
</div><!--End of container fluid-->
<div class="push"></div>
</div><!--End of wrapper-->
<div class="footer">
<hr class="my-hr" />
<p>© my footer statement</p>
</div>
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
@Scripts.Render("~/Content/bootstrap.css")
@RenderSection("scripts", required: false)