>It turned out that style is not the issue, but the on* javascript events. > > Inline style is stripped by the HTML filter if it is enabled. Set your input format to Full HTML to avoid it. Steven Wittens