how to get IE to recognize DOM attributes
Unfortunately, IE (8 - but I recall having the same problem in 6 and 7) seems to ignore this. For example, I can create a "b" element but the text won't go bold. Or I can setAttribute('style', 'font-weight: bold') and it again is ignored. If I setAttribute the class to something that is defined as bold in the .css, it is again ignored. Finally, if I define the element style as "font-weight: bold" in the .css, it's still ignored.
I'm using bold as an example, but it is happening no matter what formatting I try to apply. This includes text-align or cell alignment properties.
Anyone know how I can set the formatting without mixing it in with the content?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread