On 7/29/06, old9 <[EMAIL PROTECTED]> wrote: > Like those rules with a "-moz-" prefix, is is possible to write a > custormized rule like " -my-rule: myValue; ", which would be accessed > through JavaScript later? > It seem that firefox would chose to drop those unrecogonized rules, rather > than ignore and maintain them in the DOM. > > BTW, I can do that in Explorer, but failed in Firefox and Opera, any > suggestion?
could you instead give the element an extra class? maybe something like <div class="regular-class ff-class ie-class"> and then just access "ff-class" or "ie-class" in your css and give it rules there? you could then manipulate which classes an element has with javascript instead of trying to edit the css with javascript. i'm flying blind and winging it here, but good luck. :) ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/