Hi,
I'm trying to position a script inside a div. It works fine with FF, but it doesn't with IE 6 and IE 7. The script is printed under the div which is a big red box.
Here's the code:
Is there a way to force the script tag to be positioned into the DIV not under?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>
Thanks
Steph


Reply With Quote


Bookmarks