creating multiple columns for list page...
2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 3, 2011 (RSS)
By (Deleted User) - March 3, 2011
HI - I was wondering if there is a way to have the list page (i.e. news list) have more than one column in stead of having one long scrolling list?
I'd like to create a list of 'artists' that would each have their own page (using the newsLists.php page) ... but I don't want one big long list that is now currently generated from the database. I'd like it to be in multiple column so the page does not scroll if there are like 60 news items (in this case artist names) on the page. Is this possible? If so how do I go about setting this up?
I've attached a screen shot of what I'm looking to do.
Thanks - Cheryl
I'd like to create a list of 'artists' that would each have their own page (using the newsLists.php page) ... but I don't want one big long list that is now currently generated from the database. I'd like it to be in multiple column so the page does not scroll if there are like 60 news items (in this case artist names) on the page. Is this possible? If so how do I go about setting this up?
I've attached a screen shot of what I'm looking to do.
Thanks - Cheryl
Re: [cfdesign] creating multiple columns for list page...
By Toledoh - March 3, 2011
I use CSS floats to do it;
Then have the page content something like
#detailsContent ul{
list-style-type:none;
width:560px;
margin-left:40px;
font-size:12px;
}
#detailsContent li {
float:left;
margin: 10px 0 0 0;
padding: 0 10px 0 0;
width:150px;
list-style-image:url(../images/tickbox.png);
}
Then have the page content something like
<div id="detailsContent">
<ul>
[for each...]
<li>[item goes here]</li>
[end for each]
</ul>
</div>
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)