Hi, is there any way to display cp teaser in 2-column layout?
Or any way to show latest articles, but in columns, not one after another.
phpwcms ver. 1.3.3
Column layout.
Re: Column layout.
Hi,
mhh, if I undastand you right you need a little bit more css.
e.g. in teaser template:
Knut
mhh, if I undastand you right you need a little bit more css.
e.g. in teaser template:
Code: Select all
<!--TEASER_HEAD_START//-->
<div style="width: 500px;">
<!--TEASER_HEAD_END//-->
<!--TEASER_ENTRY_START//-->
<div style="float: left; width= 245px; padding-left: 4px;">
...... teaser ......
</div>
<!--TEASER_ENTRY_END//-->
<!--TEASER_FOOTER_START//-->
<div style="clear:both;height:1px"></div>
</div>
<!--TEASER_FOOTER_END//-->
I don´t understand your question. -> teaser cp or related tag ot new tag???Or any way to show latest articles, but in columns, not one after another.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: Column layout.
Thanks, that did it.
But there are a few problems.
1) The columns are not fixed width. If the article title is longer they stretch.
2) If i include the article summary in the listing template, there is only one column with 100% width.
So the longer the text, the wider the column is. And if the text is too long there is only one column.
But there are a few problems.
1) The columns are not fixed width. If the article title is longer they stretch.
2) If i include the article summary in the listing template, there is only one column with 100% width.
So the longer the text, the wider the column is. And if the text is too long there is only one column.
Re: Column layout.
Aah...found the error.
Where width is, should be:
Thanks again.
Code: Select all
<div style="float: left; width= 245px; padding-left: 4px;">
Code: Select all
<div style="float: left; width: 245px; padding-left: 4px;">