Here's the CSS:
- Code: Select all
#container {
width: 801px;
margin: 0 auto;
}
#main-content {
padding: 10px 20px 20px 20px;
vertical-align: top;
}
#sub-content {
vertical-align: bottom;
height: inherit;
}
#design {
bottom: 0;
padding: 0px 0px 0px 0px;
width: 370px;
height: inherit;
text-align: left;
vertical-align: bottom;
}
#text-block{
width: 370px;
height: inherit;
bottom: 0;
vertical-align: bottom;
float: right;
text-align: left;
}
Here's the on page code.
- Code: Select all
<div id="container">
<div id="main-content">
<div id="sub-content">
<div id="text-block">This is how I would like
the text inside this div to align itself. Starting from the
bottom left corner of the div and then working its way
upwards.
</div>
<div id="design">
<div align="right"><img src="../image.jpg"
alt="Art" width="320" height="375" />
</div>
</div>
</div>
</div>
</div>
Here's a visual representation of the issue:
http://bit.ly/css-problem
Thanks in advance!
Tim



