By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,447 Members | 1,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,447 IT Pros & Developers. It's quick & easy.

Rookie Mistake - Should I fix it?

P: 40
Okay, don't laugh.

My website is 99% done, and I took painstaking steps to make it look the same in IE and Firefox. Aside from some spacing issues when using the <p> tag (Firefox skips more vertical space somehow) - it all looks good.

However... I just read somewhere that the DOCTYPE for my site should be brought to the standard 4.01. Right now, my entire website - every page - has a doctype of 1.0 Yikes.

I changed the main page from 1.0 to 4.01 and in IE it looks the same. In Firefox, I have all kinds of spacial problems around images and paragraph tags. This would be a nightmare to fix throughout my entire site. So two quick questions:

1) What are the ramifications (God I love that word...) of leaving the doctype 1.0?

2) Almost every page in my site is based on a template. Is there something I could put in the template (<head> section?) to fix the spacial issues caused by going from 1.0 to 4.01?

Okay, I'm done. You can laugh now.
Jan 11 '08 #1
Share this Question
Share on Google+
4 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Using that doctype puts IE into quirks mode and it won't attempt to act like a modern browser, such as Firefox. The only thing to do is fix the doctype and get hacking, but use Firefox as your reference, never IE.
Jan 11 '08 #2

P: 40
Grrrr......... God I hate IE.

People still using IE are akin to people who used to still use AOL because they thought it was 'the internet'.

Remember those people?
Jan 11 '08 #3

drhowarddrfine
Expert 5K+
P: 7,435
otoh, if spaces are most of your problem, you could try setting all margins to zero and adjust them individually. Try adding *{margin:0;padding:0} to your css and go from there.
Jan 11 '08 #4

100+
P: 428
Relax- nobody ever gets it right the first time.

Now, fix it.
Jan 11 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.