All,
I have the following Javascript code which is generating a DIV and attempting
to style it a certain way.
The content comes up, but I can't get the positioning to work at all. I've
tried several different approaches (absolute w/offsets, etc.).
Does Element.setAttribute() work in IE? Do I need to address the attributes
differently perhaps?
Thanks,
Wes
====================
newDiv = popup.document.createElement('div');
newDiv.setAttribute('id', 'pdf');
newDiv.setAttribute('style', 'margin-top: 250px; text-align: center;');
newDiv.innerHTML = 'Please wait while your forms are
generated<BR/><BR/><IMG src="' + wait_image_url + '"/>';
popup.document.body.appendChild(newDiv);
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/