I got something like this:
Solution right now:
fixed height and negative top-value.
Now I want to position the red box vertically in the parent div, but it must be flexible, because there are options that might extend the red box with one or two more text-rows.
Sizes are 840x300px and the code right now is:
HTML:
<div class="large-16 columns item">
<div class="box">
<div class="image"><img src="system/html/band_test1-f5641934.jpg"></div>
<div class="data red">
<h1><a href="www.google.de" title="headliner" target="_blank">SEHR LANGER BANDNAME AHOI</a></h1>
<h2><a href="" title="venue" target="_blank"></a></h2>
<p class="date">So, 28.07.2013</p>
<p class="supportbands">+ <a href="" title="Test Support" target="_blank">Test Support</a> </p>
</div>
</div>
</div>
CSS:
.showsblock .item {
height: 300px;
margin-bottom: 20px;
}
.box .image img {
border: 1px solid #a2a2a2;
}
.box .data {
background: url('../show_bg_black.png') repeat;
display: inline-block;
position: relative;
top: -165px;
left: 1px;
padding-right: 10px;
min-width: 290px;
}
This isn't very flexibel. When I add one more row into the red div, it expands but isn't centered anymore. Do you have an idea?
Also, I think there might be a better solution for the "image" div.
thank you.