[Seaside] Magritte MAContainer css

Lukas Renggli renggli at gmail.com
Sat Sep 22 05:15:34 UTC 2007


> how do you set the css class for a MAContainer Component.
> i cant use set attributes (#class:, #id:)  because i dont think MAContainer
> understands #attributes.
> is there an easy way to do this or should i just create a custom
> MAComponentRenderer

That could be improved indeed.

What I always did for now is to wrap the Magritte container in some
<div id="formcontext">, so that you can style the form using the css
selector "#formcontext form".

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list