Looking for a solution for aligning the orange date:
Here is the current setup:
Check out the JsFiddle example: http://jsfiddle.net/N4gpA/
(Including code as jsfiddle-only is not permitted)
HTML:
<div class="Box1"><a href="#">
<img src="http://imgur.com/CAcW4Yw.jpg">
<div class="txtBox1"><h2>2014 02 16</h2><h6>vilniaus KM laimėjo prieš aisčius - <br> kristupas totoris pataikė tris tritaškius</h6></div></a>
</div
CSS:
h6{
display:inline-block;
padding:0;
margin:25px 0 10px 25px;
font-size:24px;
font-weight:400;
text-transform:uppercase;
color:rgb(230,230,230);
}
h2{
display:inline;
text-transform:uppercase;
padding:0;
margin:0px 0 10px 30px;
font-size:13;
font-weight:bold;
color:#e6540c;
}
.txtBox1{
position: absolute;
height: 140px;
width: 100%;
background:url(http://imgur.com/c9KcXjv.jpg);
bottom: 0;
}
.Box1{
float:left;
width: 703px;
height: 589px;
overflow: hidden;
position: relative;
margin: 0px 0px 15px 0px;
border-radius: 5px;
}
Looking for an easier way to vertically align the date without dealing with boxes and absolute positions?