Suppose I have a title div, a content div and a footer div.
<div id="header">
Title
</div>
<div id="content" style="background:red">
<p>TEST</p>
</div>
<div id="footer">
footer
</div>
How can I always set the title div to be 20%, content to be 70% div and the footer to be 10%?
Thanks
Working example on JS Bin.
HTML:
CSS: