Categories
Uncategorized

Asynchronous CSS

If you really want asynchronous CSS ( and determining if you do is a completely different conversation ) then check out The Simplest Way to Load CSS Asynchronously at The Filament Group. They present a very easy mechanism for doing this:

<link rel="stylesheet" 
href="/path/to/my.css" 
media="print" 
onload="this.media='all'">

This is a nice, clean approach.

Leave a Reply

Your email address will not be published. Required fields are marked *