apply downloaded CSS on windows 8 metroUI app
问题 I have to download CSS file and apply style sheet to my app. I downloaded this file at the local folder and referenced it as style.href = "ms-appdata:///local/css//custom.css"; and appended to head as document.getElementsByTagName('head')[0].appendChild(style); after document onready event. Seems it has no effect (but I can see this element in the dom browser). So is there any restriction for css source: app package, local folder? May be this impossible to reference downloaded CSS due to MS