Jesse Skinner

Adding Style Blocks Using JavaScript

Who’s Got Style? - Nicholas C. Zakas writes a good analysis of dynamically creating and attaching <style> elements to a page using JavaScript. He ends up with a function that works in Internet Explorer, Firefox, Opera and Safari.

Published on June 7th, 2007. © Jesse Skinner

About the author

Jesse Skinner

I'm Jesse Skinner, a freelance software engineer. Since 2001 I've been building web apps that last, and rescuing those that didn't. I'm available to take on one or two new clients. Here's how I work.

Contact Jesse

Need help with a project? Any questions? I'd love to hear from you.

Email me at [email protected]