« Return to Thread: Content showing inside div element problem

Re: Content showing inside div element problem

by Viktor Livakivskyi :: Rate this Message:

| View in Thread

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">

_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

 « Return to Thread: Content showing inside div element problem