Tag: CSS

Old code: CSS rules on the fly from JavaScript (2006)

Again, some old code I'm not using anymore since I switched to jQuery but that might be useful for someone: /* * Public Domain * Created by Toni Corvera <outlyer@outlyer.net> in September, 2006 * * Creates a new CSS ruleset, should work with multiple rules correctly * e.g.: * loadCssRules('body{font-family:sans-serif;}a:link{color:red;}'); */ // void function loadCssRules(String […]

Read More