I thought I'd cracked this but it appears not. I want a div within a div to give the effect that the 'child' div appears as a strip that aligns with the base of its parent. The example below achieves the effect of it aligning with the top of its parent.
Any suggestions as to how I can achieve this please?
Thanks in advance.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
</head>
<body>
<div style="width:360px; height:230px;
background-color:yellow;">
<div style="background-color:green;
vertical-align:baseline;">
I'd like this div to grow upwards from
base of the yellow area as new text is
added rather than downwards from the
top as it currently behaves.
</div>
</div>
</body>
</html>
Thanks in advance.