I needed to set the marginwidth, marginheight, leftmargin and topmargin in
the body tag from WebMacro. I added a patch so you can call the
addAttribute on the body tag. (to add any attribute you want) I first
tried $data.getPage().getBody().addAttribute() but that results in multiple
body tags in the HTML.
Here's the patch for org.apache.turbine.util.webmacro.WebMacroPageAttributes
193a194,200
> /** adds an attribute to the BODY tag */
> public WebMacroPageAttributes addAttribute(String name, String value)
> {
> data.getPage().getBody().addAttribute(name, value);
> return this;
> }
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]