Jump to content

Rookie Mistake - Should I fix it?


vozzek

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.