Go to my initial DOM example.

This is a DOM Test, crossbrowser compatible, as long, as CSS is supported.

I have created this as a simpler example of my DOM example. You don't need any proprietary DOM extensions (namely innerHTML), just plain DOM1 for this hack.

I didn't include fallback mechanisms here, as this makes the code a bit more complicated.


This is the paragraph content

And now it is modified


Note: The container is important (the <div> in this case).

If you have any improvements, please let me know: mailto: Stefan.