[TYPO3-templavoila] Setting a Img-Width Limit per Container
lee perry
leeperry at slack.de
Fri Sep 21 20:42:29 CEST 2007
hi benjamin,
you can set the colPos for your containers with the element
<oldStyleColumnNumber> in your DS.
So you can set it to <oldStyleColumnNumber>0</oldStyleColumnNumber> for
your main content container and to
<oldStyleColumnNumber>2</oldStyleColumnNumber> for your (right) sidebar
content container.
<http://typo3.org/documentation/document-library/extension-manuals/templavoila/1.3.1/view/1/5/>
and maybe with these information you can set different styles.content
values with:
styles.content.imgtext.maxW = 600
styles.content.getRight.imgtext.maxW = 200
but I don't know if it works, especially the styles.content-part ...
greetings,
lee
> Hey all,
>
> I am working on a webpage where I have two TV containers for "Content
> Elements" and I'd like to have different settings for the different
> containers.
>
> Say I place a Content element with an image in container #1, I'd like to
> be able to have a maximum with of 600 pixel (like the main content
> container) and for container #2, I'd like a maximum width for pictures
> of 200 pixels (like a sidebar on the right).
>
> Note that I'm not talking about special FCE's or Templates where I
> specifically set one single image for a sidebar or so, but two content
> areas with random content elements, and about something where I could
> e.g. set styles.content.imgtext.maxW for different content areas...
> would be cool!
>
> Can anybody help me with this? Is this even possible?
>
> Thanks in advance!
More information about the TYPO3-project-templavoila
mailing list