Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #13822
| Path | csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | "Richard Maher" <maher_rj@hotspamnotmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Appending a TABLE to a DIV |
| Date | Mon, 7 May 2012 21:34:42 +0800 |
| Organization | HTTP *is* The Box - Let's think outside |
| Lines | 48 |
| Message-ID | <jo8j1m$5d2$1@speranza.aioe.org> (permalink) |
| References | <jo5kjb$mf8$1@speranza.aioe.org> <jo8g84$v7k$1@dont-email.me> |
| NNTP-Posting-Host | jOhPn0KFjrxwuMc9OPMmCw.user.speranza.aioe.org |
| X-Complaints-To | abuse@aioe.org |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-RFC2646 | Format=Flowed; Response |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | csiph.com comp.lang.javascript:13822 |
Show key headers only | View raw
Hi Leonardo, "Leonardo Azpurua" <leonardo@exmvps.org> wrote in message news:jo8g84$v7k$1@dont-email.me... > > "Richard Maher" <maher_rj@hotspamnotmail.com> escribió en el mensaje > news:jo5kjb$mf8$1@speranza.aioe.org... >> Hi, >> >> Can someone please tell me why, in the code below, can I see the table >> when I append it to the document.body but not the DIV(wire)? >> >> That is: - >> wire.appendChild(decal); // shows a ghost of the table >> document.body.appendChild(decal); // shows the whole table >> >> Cheers Richard Maher >> [code snipped] >> > > Hi, > > It is usually a good idea to simplify in order to get to the problem. > > After removing the line where you add decal to document.body and restoring > the code where it is appended to wire, and then wire to document.body, I > removed the opacity handling to find a faintly visible blue text on a full > black background. > > So I removed the black background and got a perfectly visible table. > > Yours is just a color/opacity combination problem. > > A practical programming advice is "don't byte more than you can swallow". Umm, it does get a little bit more complicated than this, but no matter. > First solve functionality, then tackle design. Or otherwise if you prefer. I'll remember to take baby steps in future, thanks. > > -- > > Regards Richard Maher
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Appending a TABLE to a DIV "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-05-06 18:42 +0800
Re: Appending a TABLE to a DIV Mr Ruaraidh Petrie <me@sorry_no_spam> - 2012-05-06 18:29 +0100
Re: Appending a TABLE to a DIV "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-05-07 05:55 +0800
Re: Appending a TABLE to a DIV Mr Ruaraidh Petrie <me@sorry_no_spam> - 2012-05-10 21:29 +0100
Re: Appending a TABLE to a DIV "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-05-06 20:08 +0100
Re: Appending a TABLE to a DIV "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-05-07 06:00 +0800
Re: Appending a TABLE to a DIV "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-05-07 13:52 +0100
Re: Appending a TABLE to a DIV "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-05-07 21:31 +0800
Re: Appending a TABLE to a DIV "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-05-07 19:58 +0100
Re: Appending a TABLE to a DIV Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-05-07 21:57 +0200
Re: Appending a TABLE to a DIV Andrew Poulos <ap_prog@hotmail.com> - 2012-05-07 13:41 +1000
Re: Appending a TABLE to a DIV "Leonardo Azpurua" <leonardo@exmvps.org> - 2012-05-07 08:17 -0430
Re: Appending a TABLE to a DIV "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-05-07 21:34 +0800
csiph-web