I'm invoking the DEC using JScript and have DEC showing up in a DIV
called Composition. I've tried writing a bgcolor attribute into a body
tag and using Compostion.document.write(bodyTag). I've tried setting a
style declaration in an external style sheet and importing it into a var
called styleTag and loading it into the window using
Compostion.document.write(styleTag).
I've tried setting the background color of the div, but that doesn't
work. Is there any way to set the background of the body of the DEC
using JScript? Any help would be appreciated.
Thanks.
<-- Rob
<script language="JavaScript" FOR="tbContentElement"
EVENT="DocumentComplete">
tbContentElement.DOM.body.style.fontFamily = 'Arial'; // set a default
font
tbContentElement.DOM.body.style.fontSize = '13px'; // set a default font
size
tbContentElement.DOM.body.innerHTML =
document.forms[0].PagContent.value; // copy content over
</script>
You should be able to add this line:
tbContentElement.DOM.body.style.backgroundColor = '#333333'; // set
background color
Jonathan
http://www.snook.ca/
"Rob" <r...@currentmarketing.com> wrote in message
news:3C503843...@currentmarketing.com...
<- Rob