Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-02-22 16:52:33

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

How to get external-links stored in DB arrange in two parallele lists

How to get a same category-group of external-links, stored in the textpattern database, arrange themselves in two parallele lists with a same ‘height’ (lenght).
Thanks
Bong-man

Offline

#2 2010-02-22 17:35:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: How to get external-links stored in DB arrange in two parallele lists

The easy way is by css. So for a linklist like <txp:linklist label="" category="Some_category" wraptag="ol" break="li" class="parallel_links" />. You could have something like: .parallel_links li {width:48%;float:left}. You will of course need to break the float after the list with a div using the clear style.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB