I have the following code and i want to align the div “NewsFooter” to sit at the bottom of its parent div “ContentLeft”
can i acheive this with a CSS property?? at the moment i have tried vertical-align but it isn’t affecting the NewsFooter Div.
<style type="text/css">
<!--
#ContentLeft {
width: 254px;
float: left;
margin-top: 10px;
padding: 10px;
height: 180px;
}
.NewsFooter {
vertical-align: bottom;
}
-->
</style>
</head>
<body>
<div id="ContentLeft"> <span class="Headline"><?php echo $table[0]['Headline'] ?></span><br />
<br />
<?php echo $table[0]['Description'] ?><br />
<br />
<div class="NewsFooter"> <span class="URLlink"><a href="<?php echo $table[0]['URL'] ?>">click here to read more</a></span><br />
<br />
<span class="Date"><?php echo date('j F Y',strtotime($table[0]['Date'])); ?></span><br />
</div>
</div>
</body>