CSS:
.events_holder {
width:100%;
background-color: #d9ceae;
}
.events_holder .event_holder {
width:100%;
float: left;
min-height: 20px;
}
.events_holder .event_holder .event_data {
border: thin gray dotted;
font-size: 80%;
float:left;
min-height:20px;
}
.events_holder .event_holder .event_date {
width: 22%;
}
.events_holder .event_holder .event_title {
width: 22%;
}
.events_holder .event_holder .event_venue {
width: 15%;
}
.events_holder .event_holder .event_city {
width: 27%;
}
.events_holder .event_holder .event_type{
width: 10%;
}
.events_holder
, and .event_holder
are both div
's, the rest are spans.
Every span also has the class .event_data
.
The problem I am having now, is if one of the spans are taller than 20px, the other spans do not expand with them.
How can I get the height of the spans to be equal?
Markup:
<div class="events_holder"><div class="event_holder">
<span class="event_date event_data faded">06/30/09<br>08:06 pm - 10:06 pm</span>
<span class="event_title event_data">
event name<br>
<span class="small"> subtitle for the event </span>
</span>
<span class="event_venue event_data">
The NYC cafe
</span>
<span class="event_city event_data faded">
My first city
</span>
<span class="event_type event_data faded">
Events
</span>
</div>
<div style="clear: both;"></div>
<div class="event_holder">
<span class="event_date event_data faded">06/19/09<br>08:06 pm - 10:06 pm</span>
<span class="event_title event_data">
Test Event<br>
<span class="small"> </span>
</span>
<span class="event_venue event_data">
The NYC cafe
</span>
<span class="event_city event_data faded">
My first city
</span>
<span class="event_type event_data faded">
Events
</span>
</div>
<div style="clear: both;"></div>
<div class="event_holder">
<span class="event_date event_data faded">06/19/09<br>08:06 pm - 10:06 pm</span>
<span class="event_title event_data">
Copy of Test Event<br>
<span class="small"> </span>
</span>
<span class="event_venue event_data">
The NYC cafe
</span>
<span class="event_city event_data faded">
My first city
</span>
<span class="event_type event_data faded">
Events
</span>
</div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;">