External CSS styles cant be accessed in Google Chrome
So i have the following code <html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> document.styleSheets[0].cssRules[0].style.color="blue"; </script> </head> //etc. So basically this code works in IE and Mozilla, but not in Chrome. Actually, when you run document.styleSheets[0].cssRules it returns an CSSRulesList Object(in IE and Mozilla), but in Chrome it returns null. Btw, for embedded styles this object seems to work even in Chrome. So is this feature actually not available in Chrome? If so, is there a Chrome alternative that enables you to