Will,

><BODY bgcolor="#CCCC99" link="#660000" alink="#990000" vlink="#660000"
>text="#000000" topmargin="0" leftmargin="0" marginheight="0"
marginwidth="0">
>
>- Is there a way for me to explicitly set the BODY tag, or are there
properties
>for each of those attributes?

Through WebMacro you can modify the Body attributes through $page which is a
pointer to a WebMacro Webcontext. The $page is a TemplatePageAttributes
Object and has the methods;

 setTitle(String title)
 setStyleSheet(String url)
 setKeywords(String keywords)
 setDescription(String description) 
 setBackground(String url)
 setBgColor(String color) 
 setTextColor(String color)
 setLinkColor(String color)
 setVLinkColor(String color)
 addAttribute(String name, String value)

Through addAttribute you can specify any name value pair to go into the
(ECS)Body tag. For instance in default.wm you can put;

 $page.addAttribute("topmargin","0")
 $page.addAttribute("leftmargin","0")
 $page.addAttribute("rightmargin","0")  

Which should give you the desired result.

Sorry if this descriptive email is overkill but I am making notes at this
point in this particular section :) Hope it all helps.




Cameron Riley


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