I am setting the style attribute of a text via js element.setAttribute() method with name=style and value="my modifications to the style of text"
it is working well in browsers other than IE ..
In order to make it possible ,what should i do ?
for your information i m modifying these attributes -- text-align,text-decoration,font-style,font-weight,font-size....
I will be happy if someone guides me thank you..
Another way for IE which "preserve" the ordinary syntax of CSS is
cssText
property:Official documentation: http://msdn.microsoft.com/en-us/library/ms533698(v=vs.85).aspx