Yes thats right IE7 is a ‘dick’, yes I said ‘dick’, when it comes to anything when web developing in HTML and JavaScript. One new fascinating tip I will have to keep in mind is doc types. Recently I’ve been building a TV Show Script, going at $15 bucks if any one is interested contact me, and FireFox was going great. PHP was going smooth then I’m thinking everything goes smooth few times around in most browsers including IE, so I came into a margin aligning problem. Me and a friend ‘Ethrel’ we’re trying to figure out this problem, we did two different ways when it came to aligning, heres a few:
#wrapper
{
position: absolute;
margin-left: auto;
margin-right: auto;
width: 800px;
}#wrapper
{
position: absolute;
left: 50%;
margin-left: -400px;
}
So I’m going crazy wondering why it didn’t work, We both stumbling to find an answer, and he came up with somethings wrong with the margins not working. I being stupid and forgetting it isn’t valid XHTML because I didn’t add a doctype to the top of my HTML to define how the page should be displayed. With that say I’m guessing FireFox has a default doctype set for all html pages if one isn’t set, but IE wont parse as much correctly without one. I guess theres a limit of some sort.
If your like me and don’t remember doctypes off the bat you can bookmark one of my favorite sites I visit occasionally when I need help: http://xhtmldoctype.com/
Hope that helps for any IE7 Users, this possibly might be a problem with all browsers.

June 2nd, 2008 at 3:26 am
I have noticed that when you remove the the Doc Type in IE 7, the stylesheet in IE goes bad, but when I add it back it has no problem. I think the reason it has been added is because now there are various types of formats available such as XML etc. So for future website design companies in US, outsourced destinations India are recommended to use it.
June 2nd, 2008 at 9:38 am
Yes, I’ve been meaning to play with other doctypes my self such as the math doctype, but never really seen the use for it.
June 3rd, 2008 at 5:20 am
This is because without a DOCTYPE, IE assumes that the page is not valid, and renders it in “quirks mode”.
When a DOCTYPE is present, it will render in “standards compliance mode”. IE’s “standards compliance mode” still isn’t totally compliant, though…
Richard Johns last blog post..BrightKite Plugin for WordPress: cURL Version
June 9th, 2008 at 5:24 am
I am glad somebody finally said it…for the millionth time, IE is a “dick”, I don’t believe we are referring to the name sometimes used instead of Richard. Great post, that is good information to have.
Jasons last blog post..Web Design Trick: Javascript Column Heights
August 6th, 2008 at 7:30 pm
great post mate.
NaldzGraphicss last blog post..30 Professional Logo Collection