Page 1 of 1

appendChild for CSS

Posted: Sun Dec 31, 2006 8:33 pm
by JellyFish
Is there such a property that relates or acts like the Javascript method, appendChild()? This has nothing to do with my previous post, if your wondering.

That's pretty 'muchit'.

Posted: Mon Jan 01, 2007 2:36 am
by matthijs
There are the :before and :after selectors, part of css2 http://www.w3.org/TR/CSS2/generate.html, and some other more advanced selectors, part of css3 http://www.w3.org/TR/CSS2/generate.html

These are pretty cool selectors.

Of course, don't expect every browser to support them...