|
Hi,
I'm trying to position a script inside a div. It works fine with IE 7 and FF, but it doesn't with IE 6. The script is printed under the div which is a big red box.
Here's the code:
<script type="text/javascript">
document.write('<div style="margin: 0pt; padding: 0pt; background-color: Red; position: relative; width: 145px; height: 145px;" id="PA_transcon10003">');
document.write('<script style="padding:0; margin:0;" language="JavaScript" type="text/javascript">ord=Math.random()*10000000000000000;document.write(\'<script language="JavaScript" src="http://ad.doubleclick.net/adj/tc.fr.biz.blogues.sguerin;tile=1;sz=145x145;ord=\' + ord + \'?" type="text/javascript"></scr\'+ \'ipt>');</script>');
document.write('</div>');
</script>
|
|
Is there a way to force the script tag to be positioned into the DIV not under?
Thanks
Steph
<Added>
Update : It doesn't work on IE 7 as well
|
|
|
|
|
|
|
|