[Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext
Matthias Peltzer
mail at mpeltzer.de
Tue Sep 13 17:13:55 CEST 2005
Wolfgang Klinger schrieb:
> Hi!
>
> On Fri, 02 Sep 2005, Ernesto Baschny [cron IT] wrote the following:
>
>>- The user can choose how many columns to display! This was the most
>>annoying thing in the current original css_styled_imgtext. The
>>"floathorizontal" field was removed, and code was added to allow images
>>to wrap in the correct amount of columns.
>
>
> Thank you for that great work!
>
> One problem I had was that when I specified a width for the images
> ("imagewidth") and defined e.g. 5 columns the width was used for all
> images in a row, not for a single one... that's not the expected
> behaviour I think (at least for me)!
>
> Please think about that and change the following line accordingly
> ----
> $defaultColumnWidth = ceil(($maxW-$colspacing*($colCount-1)-$colCount*$border*$borderThickness*2)/$colCount);
> ----
>
> I simply set
> ----
> $defaultColumnWidth = $maxW;
> ----
> (but that doesn't count all this border stuff in)
>
>
> kind regards
> Wolfgang
>
>
I got the same problem, when inserting e.g. 5 coloumns... is there a
solution?
greets
matthias
More information about the TYPO3-dev
mailing list