I made a navigation bar for the bottom of the page here
http://www.xfilesnews.com/
For me, it seems to be ok in IE, Opera and Firefox
Now, same code, pasted to another site...
http://fiction.xfilesnews.net/index.php
Fine in Firefox, its over by like 500 pixels in IE (off the page) and in Opera the table align middle and top are not respected at all.
The code was copied/pasted from the first site, here it is
Code:
/* network bar stuff */
#network {
width: 100%;
position: fixed;
bottom: 0px;
height: 26px;
}
#block_network {
width: 98.5%;
position: relative;
background: #101010;
background-image: url(http://www.xfilesnews.com/images/network/background.jpg);
background-repeat: repeat-x;
height: 26px;
}
.network_text1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #111518;
}
.network_text1 A:link {text-decoration: none; color: #111518;}
.network_text1 A:visited {text-decoration: none; color: #111518;}
.network_text1 A:active {text-decoration: none; color: #111518;}
.network_text1 A:hover {text-decoration: underline; color: #111518;}
select.netbar {
background-color: #9aacbd;
color: #000000;
font-weight: normal;
font-family: Verdana;
font-size: 11px;
border: 1px solid #4e5e6d;
}
/* end network bar */
And the html part
Code:
<div id="network"><div align="center"><div id="block_network"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1" height="26" bgcolor="#000000"></td>
<td align="left" valign="top"><table><tr><td valign="top" height="26"><a href="http://www.xfilesnews.com"><img src="http://www.xfilesnews.com/images/network/xfnnetwork.png" alt="XFN Network - X-Files News - www.xfilesnews.com" width="174" height="26" border="0" /></a></td></tr></table></td>
<td> </td>
<td align="right"><table><tr><td width="20" height="26" align="right" valign="top"><a href="http://forums.xfilesnews.com/"><img src="http://www.xfilesnews.com/images/network/group.png" alt="XFN Forums" width="20" height="20" border="0" /></a></td>
<td width="80" height="26" align="right" valign="middle"><span class="network_text1"><a href="http://forums.xfilesnews.com/" class="network_text1">XFN Forums</a> </span></td>
<td width="20" height="26" align="right" valign="top"><a href="http://irc.x-filesnews.net"><img src="http://www.xfilesnews.com/images/network/chat.png" alt="Chat on XFN" width="20" height="20" border="0" /></a></td>
<td width="70" height="26" align="right" valign="middle"><span class="network_text1"><a href="http://irc.x-filesnews.net" class="network_text1">Chat Now!</a> </span></td>
<td width="20" height="26" align="right" valign="top"><a href="http://www.zazzle.com/thinkey*"><img src="http://www.xfilesnews.com/images/network/shopping.png" alt="Support XFN" width="20" height="20" border="0" /></a></td>
<td width="80" height="26" align="right" valign="middle"><span class="network_text1"><a href="http://www.zazzle.com/thinkey*" class="network_text1">Get T-Shirts</a> </span></td>
<td width="207" height="26" align="right" valign="middle"><form name="jump">
<select name="menu" class="netbar">
<option value="http://www.xfilesnews.com">X-Files News</option>
<option value="">I Want To Believe Forums</option>
<option value="http://www.zazzle.com/thinkey*">XFN Online Store - Support Us!</option>
<option value="http://apps.facebook.com/xfilesnews/">XFN Facebook Application</option>
<option value="http://fiction.xfilesnews.net/">X-Files 2 Movie Fan Fiction Archive</option>
</select></td>
<td width="1" height="26"></td>
<td width="20" height="26" align="left" valign="top"><a href="javascript:location=document.jump.menu.options[document.jump.menu.selectedIndex].value;"><img src="http://www.xfilesnews.com/images/network/go.png" width="20" height="20" border="0"></a>
</form></td>
<td width="10" height="26"> </td></tr></table></td>
<td width="1" height="26" bgcolor="#000000"></td>
</tr>
</table>
</div></div></div>
I have the code displayed in the 2nd site in footer.tpl and its just before the
</body></html>
<!-- END BLOCK : footer --> of that file, therefore, there is no divs wrapping this portion of the code.
|