Click to See Complete Forum and Search --> : how can I define to a table


weee
03-04-2004, 01:09 AM
to be aligned to the bottom?

Thanks

fredmv
03-04-2004, 01:32 AM
<!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>

weee
03-04-2004, 01:44 AM
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?

fredmv
03-04-2004, 01:48 AM
Could you perhaps elaborate maybe? I'm not quite sure I understand what you're trying to achieve here.

weee
03-04-2004, 01:49 AM
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.

fredmv
03-04-2004, 01:52 AM
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.

weee
03-04-2004, 01:53 AM
what it does?

fredmv
03-04-2004, 01:55 AM
Simply add that rule into my currently existing bottom class and you'll see how it works. ;)

weee
03-04-2004, 01:56 AM
!