PDA

View Full Version : line too long



joecool2005
01-18-2006, 04:45 PM
Hi all,

With this code:

<style type="text/css">
.spanLeft{
width : auto;
float : left;
text-align : left;
FONT-SIZE: 10pt;
padding: 4px;
}
</style>

<table border=1 width=100% cellpadding=0 cellspacing=0>
<tr><td align=right><span class=spanleft>Deduction for foreign experts operating a stock exchange business or a securities clearing-house business</span>
<table border=1 width=40% valign='top' >
<tr><td valign='top' align=right>
<nobr>
$<input type="text" size=10>
</nobr>
</td>
</tr>
</table>
</td>
</tr>
</table>

When I test on explorer, the text box jump in the next line automaticaly when the line is too long. But on mozilla or firefox, it continues on the same line. So how I can jump to the next line automaticaly on mozilla or firefox?

thx
joe

Twey
01-18-2006, 05:15 PM
Try specifying white-space:normal.