[thelist] Styling JavaScript created paragraph

Christian Heilmann codepo8 at gmail.com
Sun Oct 22 15:00:37 CDT 2006


> 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/



More information about the thelist mailing list