DOM Helper: IE Inline CSS Editor
via ajaxian:Â DOM Helper: IE Inline CSS Editor
Rhys Jeremiah created DOM Helper, an inline CSS editor for Internet Explorer:
Well I’ve finally got round to producing the inline CSS editor that I wanted to do in the first place. The first stab, was in C++ and although it worked, it was a complete nightmare. It didn’t allow you to alter CSS files that were loaded as “@import”. This new version does, it parses the CSS and adds each individual rule back to the style sheet. Simply replacing the CSSText caused a memory corruption error in MSHTML.
It’s been re-written it in C# using Pavel Zolnikov’s BandObjects. I’ve also added a few extras such as a DOM Explorer and the ability to add plugins to the band object.
While it’s been writting in C# 2.0 there’s not much use of the new version 2 features. Mind I was most satisfied with my first foray into using generics. I didn’t think that there’d be much use for them but I did find a use, albeit slightly contrived.
Follow @clientcide on twitter to get notified of new posts.
To follow me personally on twitter, follow @anutron.

April 7th, 2007 at 8:08 pm
Install method doesn’t work for me, I have i.e 7
April 7th, 2007 at 8:28 pm
Ok I downloaded .net 2 service pack it installed fine but I can’t see the toolbar in i.e still.