I actually found a way to do what I wanted in css. But yeah, I know how the replace works, the problem was that I wanted to wrap several tags, not just one.
On 12 touko, 11:14, Tiago Franco <[email protected]> wrote: > Hi, > > Just use this example to wrap the tag that you want. Instead of > <content:replace> etc, use the tag that you need to wrap. > > Thanks, > TF > > On 12/5/11 6:58 AM, RanzQ wrote: > > > > > Thanks for the suggestion, but what I wanted is that my header and > > footer would be in that same container. That puts only the content in > > it. Maybe I just have to redefine the page tag completely? > > > On 12 touko, 00:01, Tiago Franco<[email protected]> wrote: > >> Hi, > > >> Try this in you application.dryml: > > >> <extend tag="page"> > >> <old-page merge> > >> <content: replace> > >> <section class="content-container"> > >> <content restore/> > >> </section> > >> </content> > >> <old-page> > >> </extend> > > >> Thanks, > >> TF > > >> On 11/5/11 6:44 PM, RanzQ wrote: > > >>> Hi, > >>> I'd like to add a wrapper div to page-tag, so that all the elements > >>> inside body (header, content etc.) would be inside a div. Is there a > >>> way to do that by extending page-tag or do I need to redefine it > >>> completely? > >>> I need the body to be 100% in width, but the header and content still > >>> in the middle. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
