/    Sign up×
Community /Pin to ProfileBookmark

how can I define to a table

to be aligned to the bottom?

Thanks

to post a comment
CSS

8 Comments(s)

Copy linkTweet thisAlerts:
@fredmvMar 04.2004 — <!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>
Copy linkTweet thisAlerts:
@weeeauthorMar 04.2004 — 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?
Copy linkTweet thisAlerts:
@fredmvMar 04.2004 — Could you perhaps elaborate maybe? I'm not quite sure I understand what you're trying to achieve here.
Copy linkTweet thisAlerts:
@weeeauthorMar 04.2004 — 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.
Copy linkTweet thisAlerts:
@fredmvMar 04.2004 — Ah; I see. That's not quite possible with merely some kind of attribute — CSS is needed and [b]should[/b] 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 [font=courier]position: fixed[/font].
Copy linkTweet thisAlerts:
@weeeauthorMar 04.2004 — what it does?
Copy linkTweet thisAlerts:
@fredmvMar 04.2004 — Simply add that rule into my currently existing [font=courier]bottom[/font] class and you'll see how it works. ?
×

Success!

Help @weee spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...