Those two kind of fought with each other by introducing new features that made web pages incompatible with the others. Also, even then corporations weren't really keen on letting you use some other browser, so IE was the go-to since it was already installed. Since the market was so slim, and seemed to be increasingly vanishing, it seemed easier to justify going with IE's extensions.
If Microsoft had kept updating IE and hadn't let it linger for years, we'd probably still be in the situation where they're in control of the de-facto standard. It's only because they sat with their thumb up their ass that things like Firefox and Chrome were able to get footholds and start disrupting the situation. Already being present and practically being named "The Internet" are really big adoption factors.
There was also a general distrust of open source software during the time that firefox was gaining adoption. With so much malware being spread via the browser (IE6), there was a fear that firefox's open source development model and perceived immaturity were a security and support risk.
(Not sure if all my figures are accurate, but that's the gist of things).
That and there was a big gap in time between IE6 and IE7. Didn't Microsoft once announce that IE6 would be their last browser, as that's all the world needs?
How did it ever happen that IE6 ended up in such a long lasting and dominating position? Was it (I am just guessing here) the coincidence of tho things: (1) IE6 just happened to be the most recent Microsoft browser around the time when most of bigcorps initially build their inter/intranet apps, and (2) because this was the first wave of building such things, the web coders did not bother to think about a future when IE6 is no longer a modern browser?