This sounds easy but. I am simply not able to do it. Here is what I have:
<h1>Head </h1>
<div class="container_12" >
<div class="grid_6">
<h1>Heading one</h1>
<p>Content and Images</p>
</div>
<h1>Heading two</h1>
<p>Content and Images</p>
</div>
<div class="grid_12">The footer</div>
</div>
<body>
</body>
I need the divs with grid_6 to vertically aligned in middle for any type of screen. It seems the main div with container_12 just doesn’t take the page’s full height!? How can I have the content div float in middle of the screen?
give id to your content div