how can I define to a table

liunx

Guest
to be aligned to the bottom?

Thanks<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>untitled</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
<style type="text/css">
/*<![CDATA[*/
.bottom {
position: absolute;
bottom: 0;
}
/*]]>*/
</style>
</head>
<body>
<table class="bottom">
<tbody>
<tr>
<td>foo</td>
</tr>
</tbody>
</table>
</body>
</html>I'm looking for something that will keep my table to the bottom of the table that it's in. stick it to the bottom.

Posibble?Could you perhaps elaborate maybe? I'm not quite sure I understand what you're trying to achieve here.to put a tag into the TABLE tag that will make sure that the table will always will be stuck to the bottom of the page.Ah; I see. That's not quite possible with merely some kind of attribute — CSS is needed and should be used even if there was an attribute simply because presentational markup is bad. Moreover, if you want it to appear as if the table never leaves the bottom of the page — even when scrolled — you can use the CSS rule position: fixed.what it does?Simply add that rule into my currently existing bottom class and you'll see how it works. ;)!
 
Back
Top