I'm trying to change the looks of a DataLife Engine template, and I'm wondering if you could help me with alignment.
I have some info displayed in a colum, like this:
<div class="short-description">
<div class="table">
<ul class="table">
<li>A</li>
<li class="odd">B</li>
<li>C</li>
<li class="odd">D</li>
<li>E</li><br>
</ul>
</div>
</div>
This looks like
A
B
C
D
E
I want them to display like this:
A B C
D E
The content of each "cell" can be different. E.g. if B has more contents, I'd like to adjust the columns as follows:
A B C
B
B
D E
So it would stretch down until all info is displayed. The class odd just changes the color of that cell.
Here is the jsfiddle demo.
In order to do that, you could display the list-items as
inline-blockelements, as follows:JSFiddle Demo.