Does anyone know what I'm doing wrong? This code works fine for FF but IE6 just won't load the stylesheet.
If I go old-school, it works in IECode:var head = document.getElementsByTagName('head')[0]; Ext.DomHelper.append(head, { href: 'your_new_style.css' ,rel: 'stylesheet' ,tag: 'link' ,type: 'text/css' ,media: 'screen' });
Code:var css = document.createElement('link'); css.type = 'text/css'; css.rel = 'stylesheet'; css.href = 'your_new_style.css'; css.media = 'screen'; head.appendChild(css);