Saturday, 24 August 2013

100% width for only 1 page, leave the rest as fluid

100% width for only 1 page, leave the rest as fluid

I'm making an ASP.NET MVC5 web app. The default template uses bootstrap,
which is fine for almost all of the pages. However I need one page to have
width: 100%.
The view I would like to use this is a partial view, so it will be
rendered in the .container (see code below), as well as the other partial
views.
<div class="container">
@RenderBody()
<hr />
<footer>
<p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
</footer>
</div>
All of them are find to be fluid, but I need this one to be 100% width.
What is an elegant way to do it?

No comments:

Post a Comment