Simon Willison’s Weblog

Subscribe

22nd January 2008

If you want CSS rules to apply to unknown elements in IE, you just have to do document.createElement(elementName). This somehow lets the CSS engine know that elements with that name exist.

Sjoerd Visscher

This is a quotation collected by Simon Willison, posted on 22nd January 2008.