First of all i would like to know whether i can use asp.net masterpagefile in MVC razor site, since everything already developed in asp.net and now migrating in to MVC razor?
Do we have mechanism to see design at design time in MVC?
Next is i created a _layout.cshtml master page in mvc and i am using everywhere .This contains two images including gif file and a section to render body @RenderBody(),but unfortunately render body contents and two images are coming in same line.I really don't know what causes issue? Following is the code
.header {
font-size: 8pt;
color: #333333;
font-weight: bold;
}
.footer {
font-size: 8pt;
color: #666666;
font-family: Verdana, helvetica, tahoma;
}
<body>
<div class="header">
<div style="float:right"><img src="~/Images/imagesnew/Images/master/IWHeader-v2-Right.bmp" /></div>
<div style="float:right"> <img src="~/Images/imagesnew/Images/master/sampleLogo.gif" /></div>
</div>
<div style="margin-top:100px">
@RenderSection("featured", required: false)
<section class="content-wrapper main-content clear-fix">
@RenderBody()
</section>
</div>
<div class="footer">
<div class="content-wrapper">
<div class="float-left">
<p>© @DateTime.Now.Year - My ASP.NET MVC Application</p>
</div>
</div>
</div>
@Scripts.Render("~/bundles/jquery")
@RenderSection("scripts", required: false)
</body>