Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Denis McMahon Newsgroups: comp.lang.javascript Subject: Re: Alignment of three tables Date: Sun, 9 Jun 2013 22:50:37 +0000 (UTC) Organization: A noiseless patient Spider Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 9 Jun 2013 22:50:37 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="28443"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++vbboyOGoCrMKWn8W68p5q6FSZhrMNP8=" User-Agent: Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2) Cancel-Lock: sha1:L7QIwIlAWQUQAz4wGzUzfQg/fok= Xref: csiph.com comp.lang.javascript:20186 On Sun, 09 Jun 2013 15:01:39 -0600, Mel Smith wrote: > Hi Denis: > > I'll review your js above and see what I can accomplish > > Thank you ! Yeah - note that I noticed an error in it: this item: tables[i].rows[j].length should be: tables[i].rows[j].cells.length (i.e. the length of the cells collection in row j of table i) likewise this item: tables.item(i).rows.item(j).length should be: tables.item(i).rows.item(j).cells.length (i.e. the length of the cells collection in item j of the rows collection of item i of the tables collection) -- Denis McMahon, denismfmcmahon@gmail.com