Javascript Element.style.<a_new_css_style> = 'value' + 'units" +';';
In the case I am either creating a new CSS style rule on an HTML element that hasn't even had the rule before, or altering the value where the rule and value have existed previously, may I use the Javascript Element.style.<a_new_css_style> = 'value' + 'units" +';'; notation, even where the style is being appended for the first time? Does this tend to hold in browsers like Firefox 5, IE9,Chrome 11,SeaMonkey 2,Apple Safari?
In the case I am either creating a new CSS style rule on an HTML element that hasn't even had the rule before, or altering
the value where the rule and value have existed previously,
may I use the
'''Javascript Element.style.<a_new_css_style> = 'value' + 'units" +';';'''
notation, even where the style is being appended for the first time?
Does this tend to hold in browsers like
Firefox 5, IE9,Chrome 11,SeaMonkey 2,Apple Safari?