Click to See Complete Forum and Search --> : valign text in a <div>-tag


Kr|Z
07-03-2003, 07:54 AM
Is there any way to valign text to the bottom of a <div>-tag?

Charles
07-03-2003, 08:02 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
div {border:solid 1px #800; height:10em}
div p {position:relative; top:9em}
-->
</style>
<title>Example</title>
<div><p>foo</p></div>