table align down

liunx

Guest
Need some help!<br />
I want to align a table to the bottom of the page.<br />
How can I do that in html...<br />
<br />
Thanks<!--content-->Erm, I think you can do target="bottom" or something, i saw this somewhere but im not sure what it does.<!--content-->Hi there cmihai,<br />
<br />
If you use 'CSS' you may position your table anywhere on the page that you desire :D<br />
<html> <br />
<head><br />
<style type="text/css"><br />
table.bottom{position:absolute;top:600px;border-style:solid;border-width:2px;}<br />
</style><br />
</head><br />
<body><br />
<table class="bottom"><tr><td>This is the bottom</td></tr></table><br />
</body><br />
</html><br />
coothead<!--content-->Just insert the folling into the head section.<br />
<br />
CSS<br />
<br />
<br />
<style type="text/css"><br />
<!--<br />
body {<br />
margin-bottom: 0px;<br />
}<br />
--><br />
</style><br />
<br />
<br />
If you want to have the content with in your table aligned to the bottom, your table would look some whatlike this:<br />
<br />
<TABLE cellpadding="0" cellspacing="0" border="0"><br />
<tr><br />
<td valign="bottom">Yor Content Here</td><br />
</tr><br />
</table><!--content-->
 
Back
Top