I have a piece of code that opens a new window and wraps text fine in IE, but has some problems wrapping the text correctly in Firefox. Baiscally, in Firefox the wrapped text overlaps the text below it.
If I maximize the new window then everything works fine, but as soon as I resize it the wrapping issue occurs.
Here is the code I have right now that works in IE but not in Firefox. I substituted the actual page text with “<–PAGE TEXT–>”.
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title></title>
<META HTTP-EQUIV=”imagetoolbar” CONTENT=”no”>
<META HTTP-EQUIV=”CACHE-CONTROL” CONTENT=”NO-CACHE”>
<META HTTP-EQUIV=”PRAGMAS” CONTENT=”NO-CACHE”>
<link rel=”stylesheet” type=”text/css” href=”tips.css”>
</head>
<body onLoad=”resizeTo(700,600);” topmargin=”5″ bottommargin=”0″ leftmargin=”0″ marginwidth=”0″ marginheight=”0″ bgcolor=”#4a4a4a”>
<a name=”top”>
<p align=”center”>
<table bgcolor=”#000000″ cellpadding=”1″ cellspacing=”0″ border=”0″><tr valign=”top”><td>
<table width=”100%” align=”center” cellpadding=”7″ cellspacing=”0″ border=”0″ bgcolor=”#ffffff”><tr valign=”top”><td>
<–PAGE TEXT–>
<div class=”AuthorizeNetSeal”> <script type=”text/javascript” language=”javascript”>var ANS_customer_id=”blah blah”;</script> <script type=”text/javascript” language=”javascript” src=”//VERIFY.AUTHORIZE.NET/anetseal/seal.js” ></script> <a href=”
<br><br>
<a href=”javascript:window.close()”>Click to close window.</a>
</td></tr></table></td></tr></table>
</P>
</body>
</html>
Thanks in advance for any help.