I have put together a web page for a group and I am having an alignment problem.
The page is at:
I have a top banner divided into two parts - a top piece and a small clice at the bottom for the page name. Then I have a navigation div on the left. In IE the navigation div works fine at L: 10px T: 202px but in Firefox the div appears shifted up 5 px and to the right by 2 px.
I tried setting a page up with the div at L: 8px T: 197px and it looks fine in Firefox but is too low and pushed to the left.
How can I get this to work in both browsers?
Here is the code:
<div>
<table border="0" cellpadding="0" cellspacing="0" width="858">
<!-- fwtable fwsrc="TopBanne rAGAtest.png" fwbase="TopBann erAGAtestslice. gif" fwstyle="Dreamw eaver" fwdocid = "1614099162 " fwnested="0" -->
<tr>
<td><img src="Images/spacer.gif" width="858" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><img src="Images/TopBannerAGAtes tslice_r1_c1.gi f" class="noSpace" alt="" name="TopBanner AGA" width="858" height="145" border="0" usemap="#m_TopB annerAGAtestsli ce_r1_c1" ></td>
<tr>
<td><img name="TopBanner Home" src="Images/TopBannerAGAHom e_r2_c1.gif" width="858" height="42" border="0" alt=""></td>
</tr>
<map name="m_TopBann erAGAtestslice_ r1_c1">
<area shape="rect" coords="0,0,173 ,111" href="http://www.agacgfm.org " target="_blank" alt="" >
</map>
</table>
</div>
<!-- Navigation Div -->
<div id="Side">
<table align=center width=0 id="free-buttons.org:scr exst0" cellpadding=0 cellspacing=0 border=0><tr>
...
and the CSS for #Side:
#Side {
width:160px;
position:absolu te;
padding:0;
border-bottom:0px solid #fff;
top:202px;
left:10px;
z-index: 0;
height: 600px;
border: 0;
background-color: #0900B2;
}
The page is at:
I have a top banner divided into two parts - a top piece and a small clice at the bottom for the page name. Then I have a navigation div on the left. In IE the navigation div works fine at L: 10px T: 202px but in Firefox the div appears shifted up 5 px and to the right by 2 px.
I tried setting a page up with the div at L: 8px T: 197px and it looks fine in Firefox but is too low and pushed to the left.
How can I get this to work in both browsers?
Here is the code:
<div>
<table border="0" cellpadding="0" cellspacing="0" width="858">
<!-- fwtable fwsrc="TopBanne rAGAtest.png" fwbase="TopBann erAGAtestslice. gif" fwstyle="Dreamw eaver" fwdocid = "1614099162 " fwnested="0" -->
<tr>
<td><img src="Images/spacer.gif" width="858" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><img src="Images/TopBannerAGAtes tslice_r1_c1.gi f" class="noSpace" alt="" name="TopBanner AGA" width="858" height="145" border="0" usemap="#m_TopB annerAGAtestsli ce_r1_c1" ></td>
<tr>
<td><img name="TopBanner Home" src="Images/TopBannerAGAHom e_r2_c1.gif" width="858" height="42" border="0" alt=""></td>
</tr>
<map name="m_TopBann erAGAtestslice_ r1_c1">
<area shape="rect" coords="0,0,173 ,111" href="http://www.agacgfm.org " target="_blank" alt="" >
</map>
</table>
</div>
<!-- Navigation Div -->
<div id="Side">
<table align=center width=0 id="free-buttons.org:scr exst0" cellpadding=0 cellspacing=0 border=0><tr>
...
and the CSS for #Side:
#Side {
width:160px;
position:absolu te;
padding:0;
border-bottom:0px solid #fff;
top:202px;
left:10px;
z-index: 0;
height: 600px;
border: 0;
background-color: #0900B2;
}
Comment