This is actually a missing feature of the ECS (Element Construction Set)
that Turbine is using (it affects all Turbine pages, not just WebMacro).
Perhaps it should be suggested to the ECS guys to add setMarginHeight()
etc.. methods to their Body class.

That said, I'm not sure if these attributes are standard HTML, since IE and
Netscape treat them differently (marginheight & marginwidth are IE
attributes, if I recall correctly)

David Watanabe
www.exosci.com

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



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to