vozzek Posted January 11, 2008 Share Posted January 11, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/ Share on other sites More sharing options...
jos. Posted January 11, 2008 Share Posted January 11, 2008 no matter how many time i must insert my foot in my a** if i see that i did something wrong i go back and make it right no matter what the cost. :-\ You never know who might me looking. Jos. Quote Link to comment https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/#findComment-436851 Share on other sites More sharing options...
phpQuestioner Posted January 12, 2008 Share Posted January 12, 2008 1.) Depends on if you mean HTML or XHTML 1.0. 2.) You can set line-height and the margin and/or padding of the <p> tag and that may fix the problem. Quote Link to comment https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/#findComment-437065 Share on other sites More sharing options...
revraz Posted January 12, 2008 Share Posted January 12, 2008 CSS to the rescue. Quote Link to comment https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/#findComment-437075 Share on other sites More sharing options...
vozzek Posted January 12, 2008 Author Share Posted January 12, 2008 Depends on if you mean HTML or XHTML 1.0. It's XHTML 1.0 Quote Link to comment https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/#findComment-437280 Share on other sites More sharing options...
phpQuestioner Posted January 12, 2008 Share Posted January 12, 2008 Depends on if you mean HTML or XHTML 1.0. It's XHTML 1.0 You just have to make sure your using/completing your valid xhtml tags. This is because XHTML is more strict then HTML. Quote Link to comment https://forums.phpfreaks.com/topic/85582-rookie-mistake-should-i-fix-it/#findComment-437502 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.