In Firefox and safari the codes works well, but in IE the output is written as one word per line, like this….
I’m
not
happy
about
the
Raiders
first
draft
pick
I think you get the point. The particular space is an <iframe> within a <table> within a <div>. The code is below…
<script type=”text/javascript”>
document.write(‘<table width=’+win_wide+’ height=’+win_high+’ cellpadding=”0″ cellspacing=”0″>’)
</script>
<tr>
<td>
<script type=”text/javascript”>
if (navigator.appName == “Safari”){
document.write(‘<iframe frameborder=”1″ marginheight=”1″ marginwidth=”1″ align=”top” id=”equip” name=”equip” width=’+win_wide+’ height=’+win_high+’></iframe>’)
} else{
document.write(‘<iframe src=”NSECstudentdbII_equip.asp?position=<%=info_position%>” frameborder=”0″ marginheight=”1″ marginwidth=”1″ align=”top” id=”equip” name=”equip” width=’+win_wide+’ height=’+win_high+’></iframe>’)
}
</script>
</td>
</tr>
</table>
Anyone have an idea why my output is one word at a time?