I have (probably) very basic HTML/CSS question:
I'm using asp.net MVC 4 I supposed to develop simple website, which looks as the following:
Page example 1:

Page example 2:

On every page, there should be a header icon (this is a website logo) and links in the bottom. The only thing that changes between pages is a content area. Content width is different from page to page.The whole layout should be centered (as shown on design examples).
Since there are common header and footer for all pages on the website, I decided to create Layout file, like this:
...
<body id="index" class="home">
<header id="header" class="body">
here comes a logo
</header>
<section id="content" class="body">
@RenderBody()
</section>
<footer id="footer" class="body">
<nav>
<ul id="menu">
here the links
</ul>
</nav>
</footer>
@Scripts.Render("~/bundles/jquery")
@RenderSection("scripts", required: false)
</body>
</html>
Problem: I don't know how to achieve desired look. Did I made right decision about putting header and footer into common layout file?
I don't know HTML, but I do know well XAML. In XAML, I would do the following:
<Grid>
<Grid.ColumnDefinitions>
<Column Width="*"/>
<Column Width="auto"/>
<Column Width="*"/>
</Grid.ColumnDefinitions>
</Grid>
Putting content into Column 1 would give me the desired behavior (middle column will take width of it child, while left and right columns will take all the left space on the screen divided equally, thus centering content on the middle).
Thanks