At the moment I have

<div id="profile">
<div class="profile">...</div>
<div class="profile">...</div>
<div class="profile">...</div>
<div class="profile">...</div>
....
</div>

where <div class="profile">...</div> is generated by profile_listing.php.
so far so good...

Now I want to display my profiles on two columns (two profiles per row)...
I guess is matter of css. Can anybody give me a hint ?
Or alternatively... how can I build a table with two rows ?

Comments

zirafa’s picture

munga’s picture

How do I assign content-left and content-right to
different profiles from profile_listing.tpl.php ?

Can I have a global variable that I can use as a counter ?

venkat-rk’s picture

Don't know if this will be of any use to you:
http://drupal.org/node/46415

taslett’s picture

Hi Munga,
I hope you have sorted this out by now, but if not you could float each of the profiles and give them a width of just less the 50%.
eg: .profile{float:left; width:48%; position:relative;}

48% allows a little for margins, borders etc.
position:relative; help IE to do things correctly.

www.csscreator.com