Well, ignoring the tone of your reply, which strikes me as a little snarky for someone looking for help. I can't read your mind, I need to see the code you're using to make an absolute determination about the problem you're having. Otherwise, I'm just speculating, and what's the point of that? Have no idea what "quirksmode" is? Try a search engine... I hear those help you learn about things you don't already know about.
That said; What you're running into is a DOCTYPE that invokes quirksmode, and a DOCTYPE that invokes standards mode. This is known as the DOCTYPE switch. The DOCTYPE switch was first introduced in IE6 so that Microsoft could make their browser more standards compliant, but at the same time avoid breaking legacy content that up to that point had been created based on fragmented, de facto, proprietary standards created as Microsoft and Netscape fought out the first browser war.
Understanding the DOCTYPE switch is a fundamental necessity for any content that strives to use CSS and markup to become more compliant with modern standards.... and also for any of the CSS support introduced in IE6 or later.
If you want to learn more about DOCTYPE switching, Google, or your search engine of choice can turn up loads of pages that explain the topic. I also explain that topic in greater detail in my Wrox Beginning CSS book.
That said, this DOCTYPE:
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
triggers quirksmode, which, in IE, causes content to be rendered with its defunct legacy rendering engine. This is just one of several DOCTYPEs that trigger quirksmode, the primary triggering factor being the exclusion of the dtd URL "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd. Having no DOCTYPE altogether also triggers quirksmode.
The other DOCTYPE triggers standards mode, which renders content as closely to the various W3C standards as possible, and will always give you standard rendering, even if that means breaking legacy content. One example would be the way IE6 and IE7 handles the rendering of some things incorrectly in standards mode, but IE8 fixes that incorrect rendering, improving its standards mode even if some content might break in IE6 and IE7s' standards mode. Standards mode in IE also means that some features that are available in standards mode, are not available in quirksmode. The IE team only implements new features for their standards rendering mode. Some examples are CSS fixed positioning in IE7, the white-space: nowrap declaration in IE6, and many others... those features only work in standards mode in IE. And there's a long list of other things that render differently between rendering modes. You can think of this like there being two browsers in one.
Here are a few URLs where you can find more information on this topic:
http://en.wikipedia.org/wiki/Quirks_mode
http://msdn.microsoft.com/en-us/library/bb250395.aspx
http://www.google.com/search?q=DOCTYPE+Switch
--
http://www.deadmarshes.com
Author, Various Wrox Books