appendChild for CSS

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

appendChild for CSS

Post 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'.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post 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...
Post Reply