On Wed, Jun 10, 2009 at 9:47 AM, David Dorward<dorw...@gmail.com> wrote:
> 2009/6/10 David Hucklesby <huckle...@gmail.com>:
>> Interesting. That's similar to Thierry's suggestion for enabling styling
>> of ABBR in IE 5/6 -
>
> It is the same. Using DOM to generate an element of an unknown type in
> IE registers it in a way that makes that type available for styling.


Yeah, it's something I picked up on John Resig's blog:
http://ejohn.org/blog/html5-shiv/

And if you create an array of HTML5 elements (plus <abbr>) in
JavaScript, you can loop through them, rather than hand-code each
document.createElement(). (I have a minified file I threw together, if
anyone's interested, at
<http://erikvorhes.com/static/_core/html5shiv.min.js>, though host it
on your own server rather than linking directly to it, please! :)

Erik
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to