[TYPO3-english] Content showing inside div element problem
Victor Livakovsky
v-tyok at mail.ru
Wed Apr 25 15:00:36 CEST 2012
Hi, Toni.
> What i want is when i add new content in BE below existing one to see that
> new content in ANOTHER <div id="box col2></div> which have float left on
> em so they nest on each other 4 boxes in row.
Let’s assume, that you're adding content via subparts, like this:
page.10.subarts.CONTENT < styles.content.get
Then you can wrap each element in your div by adding this line:
page.10.subarts.CONTENT.renderObj.stdWrap.wrap = <div id="box col2">|</div>
BTW, you shouldn't use same id's on single HTML page - use classes instead:
<div class="box col2">
More information about the TYPO3-english
mailing list