Results 1 to 4 of 4
Sep 9, 2011, 06:48 #1
- Join Date
- Oct 2009
- A city equidistant from two coasts of India.
- 0 Post(s)
- 0 Thread(s)
Show a Div just below another Div with cross browser compatibility
I have two Div sections as below:
<body> <Form> <div id="divMain" style="top:40px"> </div> <div id="divFooter" style="top:550px"> </div> </Form> </body>
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?