[thelist] NN4.x: Repeated document.write NG with inline styles
Erik Mattheis
gozz at gozz.com
Mon Feb 17 11:15:01 CST 2003
It's a known bug. NN 4.x crashes when document.write()ing inline styles.
Seems the layout you're after could be accomplished by using an
embedded stylesheet.
On Monday, February 17, 2003, at 11:00 AM, Bill Haenel wrote:
> Anyone know why the following JavaScript crashes NN4.x?
>
> <script language="JavaScript">
> document.write('<div style="margin-bottom:5px;">Line 1</div>');
> document.write('<div style="margin-bottom:5px;">Line 2</div>');
> </script>
-----------------------
Erik Mattheis
GoZz Digital
<http://goZz.com/>
Flash and ColdFusion Development
Minneapolis, MN
-----------------------
More information about the thelist
mailing list