tha_g_child_2000
New Member
I have a website having a theme but different heights in pages and I want to make a function so that the divs automatically arrange margins between them,\[code\]<div style="position: relative;">/***main***/ <div style="top:0">/*****Content1****/ </div> <div>/*****Content2****/ </div><div>/*****Content2****/ </div><div style="bottom:0">/*****Content4****/</div></div>\[/code\]I want content1 always at top and content4 always at bottom, also want content2 and content3 adjust top and bottom margin equally so that it look even, I am unable to do this, as main div is of variable height.Please help,Thanks in advance