title: Removing inline style attributes from GWT elements
body: <p>I've inherited a lot of legacy GWT code that can be succinctly described as "a web developer's worst nightmare." The developers have made use of a lot of elements that have inline styles -- for example, the GWT DeckPanel. </p>
  
  <p>I want to remove these inline styles so I can apply an external stylesheet, but I can't seem to find any way of doing this. I know that an inline style can be set via this: <code>DOM.setStyleAttribute(container1, "height", "100%");</code> or similar, but there doesn't seem to be any sort of corresponding <code>removeStyleAttribute</code>. There is a <code>DOM.removeElementAttribute</code> but this does not work for styles.</p>
  
  <p><strong>Is there a way to explicitly remove all inline styling from an attribute?</strong> I tried Googling but all I ended up finding were things related to UIBinder and lots of defensive posts from GWT devs a la "why would you want to do that?" And I can't do too much code modification since this app is massive and I'm on a deadline. We're not using UIBinder.</p>