Show a Div just below another Div with cross browser compatibility
I have two Div sections as below:
<div id="divMain" style="top:40px">
<div id="divFooter" style="top:550px">
If I use- position:absolute for both Divs, they render well on IE, but on firefox, the footer Div renders on the base-line of the Main div.
Even if I use Top, the pixel difference between two browsers disturbs rendering.
Is there any way to render the Divs same in both browsers?