Welcome to my technology learning website. The goal of this site is to learn and retain as much information as possible. I consider this blog my knowledge base and hope that you both find and share knowledge here as well.Also for those wondering, Rhyous is pronounced ‘rī-əs. As in the words ‘Rye‘ and ‘us‘ compounded into a two syllable word.
Please take a moment to subscribe, or setup an RSS feed so you never miss a post.
A while back I posted about an html5 three column layout. Here is the same layout, only this post has built the web site using ASP.NET and it includes a Visual Studio project.
The _Layout.cshtml file looks like this:
@RenderPage("~/Layout/_Header.cshtml") @RenderPage("~/Layout/_Nav.cshtml") <div id="main"> <article id="main-article">@RenderBody()</article> @RenderPage("~/Layout/_LeftAside.cshtml") @RenderPage("~/Layout/_RightAside.cshtml") </div> @RenderPage("~/Layout/_Footer.cshtml")
Then of course, the HTLM5 layout is in the header, asides, article, and footer. And even though the Article is placed before the asides, the asides can be either on the left or the right.
Download it here: HTLM5_ASPNET_ThreeColumnLayoutExample.zip