Hi people,
I've been trying to get the text of a menu list to align at the bottom of a
table cell. Can't get to work with html or css and html. Menu should be
lined up with bottom right of logo. But the text always comes out higher up,
in Firefox and IE6. (Borders turned on to see while developing.) TIA
(other style declarations)
#topnav{
text-align: left;
line-height:1.5em;
margin-bottom:0;
margin-top:0;
vertical-align: text-bottom;
}
li.inline {
list-style-type: none;
padding-right:1.2em;
display:inline;
padding-left:0.1em;
margin-left:0;
margin-bottom:0;
margin-top:0;
}
<body>
<table border="1" width="700px" align="center" cellspacing="0">
<! logo cell>
<tr><td width="81" rowspan="2"><img src="images/logo2.png" alt="Logo"
width="81" height="106" /></td>
< ! blank spaces aboive menu>
<td width="69" height="88"> </td><td width="536"> </td>
<! top menu cell- here is the problem area>
<tr>
<td height="22" colspan="2" valign="bottom">
<ul>
<li class="inline"><a href="const.htm"
target="_blank">Advanced Materials</a></li>
<li class="inline"><a href="const.htm" target="_blank">Ballistics
Control</a></li>
<li class="inline"><a href="const.htm"
target="_blank">Design</a></li>
<li class="inline"><a href="const.htm" target="_blank">Sports
Technology</a></li>
</ul></td>
<! other stuff not implemented yet.>
<tr><td height="22" colspan="3">hr</td></tr>
<tr><td height="22" colspan="2">iframe</td><td>cbox</td></tr>
<tr><td height="22" colspan="3">hr</td></tr>
<tr><td height="22" colspan="3">bottom menu</td></tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
--
Patrick Sullivan, AA-BA, BA-IT