dr761
09-17-2007, 04:09 AM
I'm using dhtmlmodal with a hidden div but I can't seem to set a background color. When I unhide the div it shows up on my page with a background color of red. Here's the div definition: <div id="photofull" class="photofullimage1" style="text-align: center;" style="background-color:red">
I change the div to hide it: <div id="photofull" class="photofullimage1" style="display:none" style="text-align: center;" style="background-color:red">
I execute dhtmlmodal - photofullwin=dhtmlmodal.open('photofullid', 'div', 'photofull', '', 'width=' + (screenwidth-50) + 'px,height=' + (screenheight-250) + 'px,left=0px,top=0px,center=1,resize=0,scrolling=1');
and my window opens with a white background. I don't see anything about background color being a parameter for dhtmlmodal.
Any assistance will be greatly appreciated.
David
I change the div to hide it: <div id="photofull" class="photofullimage1" style="display:none" style="text-align: center;" style="background-color:red">
I execute dhtmlmodal - photofullwin=dhtmlmodal.open('photofullid', 'div', 'photofull', '', 'width=' + (screenwidth-50) + 'px,height=' + (screenheight-250) + 'px,left=0px,top=0px,center=1,resize=0,scrolling=1');
and my window opens with a white background. I don't see anything about background color being a parameter for dhtmlmodal.
Any assistance will be greatly appreciated.
David