[Javascript] innerHTML assignment overflows TD cell in FF

Skip Evans skip at bigskypenguin.com
Thu May 29 18:39:51 CDT 2008


Hey all,

I have a table set up with a main content cell in 
the center column of three, basically like this:

<table>
	<tr>
	<td colspan="3">header</td>
	</tr>

	<tr>
	<td>stuff</td>
	<td>the most stuff</td>
	<td>stuff</td>
	</tr>

	<tr>
	<td colspan="3">footer</td>
	</tr>
<table>

On the server side I build a content page and user 
innerHMTL=content;

..in JS code to insert the content into the column 
labeled "the most stuff".

The problem is when that column has less content, 
and then shifts to more content the latter part of 
the content runs over the footer below the main 
content row.

This is ONLY happening in Firefox, IE on windows 
works fine. Firefox has the problem on both Linux 
and Windows.

Any help would greatly, greatly appreciated.
-- 
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/



More information about the Javascript mailing list