Hmm, so why didn't it work for me. I am not going to worry about it anymore because your other CSS code worked. Thanks for your time, jules On 22/10/06, Christian Heilmann <codepo8 at gmail.com> wrote: > > > Cool! Now, if you don't change the CSS but the JS and instead of > appending a > > text node as a child, you insert an image as the child note of > > p#description, does not the image get centered? > > > > I know this is now moving away from JS to CSS but that is essentially > what I > > was trying to do. > > http://icant.co.uk/sandbox/generatedHTML.html > > yes. > > > -- > Chris Heilmann > Book: http://www.beginningjavascript.com > Blog: http://www.wait-till-i.com > Writing: http://icant.co.uk/ > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > -- Website: http://jrickards.ca Blog: http://pen-and-ink.ca