Why not do the following before your domready

new Element('link',{
       'type' : 'text/css',
       'rel' : 'stylesheet',
      'media' : 'screen',
      'href' : 'extra.css'
}).inject(document.head);



On Sun, Nov 16, 2008 at 1:11 PM, Roope <[EMAIL PROTECTED]> wrote:

>
> Thanks guys!
>
> I was also thinking about javascript document.write +css combination
> but it felt bit unprofessional. Since you guys are also suggesting
> that I think it's the best working solution :)
>
> Ken, thanks for shorter code!

Reply via email to