Div nesting

Hi,


I am having trouble with the concept of nested divs in Matrix.



I am trying to create this code:


    
 
 %some user defined text here%  
 
 %some other user defined text here%  
 
 %more user defined text here%  
 
 %and yet more user defined text here%  


I would like the user to determine whether they want a 'rightCol' or a 'feature' or not (ie not all pages will have a rightcol and/or a feature.

So to do this in a design parse file I have put

               
    
   
           
   ?????


This allows users to add a feature div simply by adding a div named "feature" if they want one.

But I cant work out how to add the second bit.

I cant do it the same way as feature was done because the rightCol div is not inside the centreCol div.

I cant use a nest content area as the content will change per page (not per customisation).

Any ideas?

The body tag in the design area always prints the entire page contents. If you want nested DIV on a single page, you either have to add the HTML in manually, or use nested content cells instead of WYSIWYG cells.


Manual HTML is not going to help editors if they dont have HTML skills, and the nested content cells are probably more complex than you want (and not in the free download) - so I'm not sure that I have a solution you're going to like. The WYSIWYG editor doesnt have support for DIVs inside it using a GUI interface.