DanUK
04-19-2003, 04:52 PM
Hi guys. sorry for another post. I'm having a bit of a problem, and I have tried some different things. Basically I'm trying a new template for my site. I have pasted the code below, but you'll see images like 'blah.jpg' which is the tables which contain my navigation bar. When there's a lot of text in the column next to it, this naviation bar goes in teh middle vertically, when i want it to remain at the top at all times. I hope you can see from the code what I mean. Any help will be much appreciated. Thanks!
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>my test page.</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="stylesheet" HREF="1.css" TYPE="text/css">
<script>
function goUrl(formSel)
{
SelPage = formSel.options[formSel.selectedIndex].value
if (SelPage != "")
{
window.location.href = SelPage
}
}
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#666699">
<table width=780 border=0 cellpadding=0 cellspacing=0 height="383" bgcolor="#FFFFFF">
<tr>
<td rowspan=2> <img src="images/index_01.gif" width=165 height=35></td>
<td colspan=2> <img src="images/index_02.gif" width=615 height=24></td>
</tr>
<tr>
<td> <img src="images/index_03.gif" width=1 height=11></td>
<td rowspan=2> <img src="images/index_04.gif" width=614 height=73></td>
</tr>
<tr>
<td colspan=2 height="39"><img src="images/logo.gif" width="166" height="62">
</td>
</tr>
<tr>
<td colspan=3 background="images/links.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/links.gif">
<tr>
<td width="37%" height="28"> </td>
<td width="11%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link1</b></font></div>
</td>
<td width="12%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link2</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link3</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link4</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link5</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link6</b></font></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=3 height="233">
<table width="100%" border="0" cellspacing="0" cellpadding="10" height="188">
<tr>
<td width="40%" height="212"><TABLE border=0 cellPadding=0 cellSpacing=0 width=150>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><p><FONT face=Tahoma
size=1><strong><IMG height=9 src="images/arrow.gif" width=9>
<FONT class=content color=#363636>nav3</FONT><FONT class=content color=#363636><BR>
<IMG
height=8 src="images/bulletb.gif" width=8> a<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> b<BR>
<IMG height=8 src="images/bulletb.gif"
width=8> c<BR>
<IMG height=8 src="images/bulletb.gif"
width=8> d</FONT></strong></FONT></p></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=138>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma
size=1><IMG height=9 src="images/arrow.gif" width=9> <FONT class=content
color=#363636><b>nav2</b></FONT></FONT><FONT
class=content color=#363636 face=Tahoma size=1><BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no5<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no6<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no7</FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=147>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><BR>
<IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><p><FONT face=Tahoma
size=1><IMG height=9 src="images/arrow.gif" width=9> <FONT class=content
color=#363636><b>nav</b></FONT></FONT><FONT
class=content color=#363636 face=Tahoma size=1>1<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no2<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no3<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no4</FONT></p></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><BR>
<IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma
size=1><strong><IMG height=9 src="images/arrow.gif" width=9>
<font color="#363636">no1</font></strong></FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
</td>
<td width="60%"><P align="center"><strong><font size="2" face="Tahoma">my content
here </font></strong>
<p align="center"> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=3 height="14">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="35" align="center">
<tr>
<td background="images/index_08.gif" height="35">
<div align="center"><font size="1" face="Tahoma">copyright info
here </font></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</BODY>
</HTML>
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>my test page.</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="stylesheet" HREF="1.css" TYPE="text/css">
<script>
function goUrl(formSel)
{
SelPage = formSel.options[formSel.selectedIndex].value
if (SelPage != "")
{
window.location.href = SelPage
}
}
</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#666699">
<table width=780 border=0 cellpadding=0 cellspacing=0 height="383" bgcolor="#FFFFFF">
<tr>
<td rowspan=2> <img src="images/index_01.gif" width=165 height=35></td>
<td colspan=2> <img src="images/index_02.gif" width=615 height=24></td>
</tr>
<tr>
<td> <img src="images/index_03.gif" width=1 height=11></td>
<td rowspan=2> <img src="images/index_04.gif" width=614 height=73></td>
</tr>
<tr>
<td colspan=2 height="39"><img src="images/logo.gif" width="166" height="62">
</td>
</tr>
<tr>
<td colspan=3 background="images/links.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/links.gif">
<tr>
<td width="37%" height="28"> </td>
<td width="11%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link1</b></font></div>
</td>
<td width="12%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link2</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link3</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link4</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link5</b></font></div>
</td>
<td width="10%" height="28">
<div align="center"><font color="#666699" face="Geneva, Arial, Helvetica, san-serif" size="1"><b>link6</b></font></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=3 height="233">
<table width="100%" border="0" cellspacing="0" cellpadding="10" height="188">
<tr>
<td width="40%" height="212"><TABLE border=0 cellPadding=0 cellSpacing=0 width=150>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><p><FONT face=Tahoma
size=1><strong><IMG height=9 src="images/arrow.gif" width=9>
<FONT class=content color=#363636>nav3</FONT><FONT class=content color=#363636><BR>
<IMG
height=8 src="images/bulletb.gif" width=8> a<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> b<BR>
<IMG height=8 src="images/bulletb.gif"
width=8> c<BR>
<IMG height=8 src="images/bulletb.gif"
width=8> d</FONT></strong></FONT></p></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=138>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma
size=1><IMG height=9 src="images/arrow.gif" width=9> <FONT class=content
color=#363636><b>nav2</b></FONT></FONT><FONT
class=content color=#363636 face=Tahoma size=1><BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no5<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no6<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no7</FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=147>
<TBODY>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><BR>
<IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><p><FONT face=Tahoma
size=1><IMG height=9 src="images/arrow.gif" width=9> <FONT class=content
color=#363636><b>nav</b></FONT></FONT><FONT
class=content color=#363636 face=Tahoma size=1>1<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no2<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no3<BR>
<IMG
height=8 src="images/bulletb.gif" width=8> no4</FONT></p></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><BR>
<IMG
border=0 height=29 src="images/blah2.gif"
width=150></FONT></TD>
</TR>
<TR>
<TD background=images/blah4.gif width=17></TD>
<TD bgColor=#ffffff vAlign=top width=114><FONT face=Tahoma
size=1><strong><IMG height=9 src="images/arrow.gif" width=9>
<font color="#363636">no1</font></strong></FONT></TD>
<TD background=images/blah3.gif width=19></TD>
</TR>
<TR>
<TD colSpan=3 width=150><FONT face=Tahoma size=1><IMG
border=0 height=21 src="images/blah5.gif"
width=150></FONT></TD>
</TR>
</TBODY>
</TABLE>
</td>
<td width="60%"><P align="center"><strong><font size="2" face="Tahoma">my content
here </font></strong>
<p align="center"> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=3 height="14">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="35" align="center">
<tr>
<td background="images/index_08.gif" height="35">
<div align="center"><font size="1" face="Tahoma">copyright info
here </font></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</BODY>
</HTML>