Thread-topic: HTML page not formatting properly on Mac Internet Explorer 5
Hi,
I have some html pages which are currently used within a business, and
are generated dynamically from within Oracle. They work fine on Windows
based Internet Explorer 5 and 6, but I am having trouble with the
displaying of the page on Mac IE 5. Basically, it is a web page for
entering an invoice. Below is the html code for one line of the invoice.
All the table cells contain enterable form text fields, except the
"Amount" column which contains a calculated line total. This is just
plain text displayed within the cell, which I then use javascript to
change the text value with an updated total using innerText, such as the
following;
line_total_obj.innerText =
round_amount(parseFloat(quantity_obj.value) *
parseFloat(amount_obj.value),2,true);
On Windows IE, the page stays formatted just fine. However, on Mac IE,
the page displays fine when it's initially displayed. But as soon as I
change the value using innerText, the table column for Amount resizes to
about an extra 100%, spanning way off the page. Even if I set the
innerText value to just one character (in case my round_amount function
is affecting it), it's still the same. I've played with the alignment
and different values, but still the same. I'm definately no html expert
and am stumped!
I'd certainly appreciate any help from anyone who's able to point out
what silly mistake I'm making, or has any other suggestions.
Thanks in advance.
Cheers,
Mike Carroll
<TABLE border=1 width=100%>
<TH ALIGN="left" width=10%>Line</TH>
<TH ALIGN="left" width=30%>Description</TH>
<TH ALIGN="left" width=10%>Tax Code</TH>
<TH ALIGN="left" width=20%>GL Account</TH>
<TH ALIGN="right" width=10%>Quantity</TH>
<TH ALIGN="right" width=10%>Unit Price</TH>
<TH ALIGN="right" width=10%>Amount</TH>
</TR>
<TR>
<TD>1</TD>
<td>
<INPUT TYPE="text" NAME="description1" SIZE="30" MAXLENGTH="240">
</td>
<td>
<SELECT NAME="tax_code1" SIZE="1"
onchange="calculate_totals(1,line_total1)">
<OPTION value=1001>EXEMPT
<OPTION SELECTED value=1000>GST
<OPTION value=1003>GST (7.5%)
<OPTION value=1002>GST (9%)
</SELECT>
<td>
<INPUT TYPE="text" NAME="gl_account1" SIZE="25" MAXLENGTH="50"><IMG
SRC="/OA_MEDIA/FNDBFIND.gif" align=absmiddle
onclick="get_gl_lov('cust.gl_account1')">
</td>
<td>
<INPUT TYPE="text" NAME="quantity1" SIZE="15" MAXLENGTH="15"
onblur="quantity_onchange(1,line_total1)">
</td>
<td>
<INPUT TYPE="text" NAME="amount1" SIZE="15" MAXLENGTH="15"
onblur="amount_onchange(1,line_total1)">
</td>
<TD id="line_total1" align=right>0.00</TD>
</TR>
<INPUT TYPE="hidden" NAME="tax_amount1" VALUE="0">
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.