mididelight
09-18-2004, 06:03 PM
Hey everyone,
I never really understood the whole use strict doctype or transitional for websites. I just used transitional and never bothered to validate my code. But today I was frustrated with how my website looked on Firefox in comparison with IE6. I could not understand why if I specified a certain width that on one browser it looked great and the other it was off.
So I researched a little and changed my doctypes to strict xhtml. I then validated my code and found out I had alot of attributes, etc, that were not valid in this doctype. I knew that would happen but what I didn't know is that when I changed the doctype that both browsers would now come up with the same errors and same width settings, and so on.
I spent the next couple of hours validating my code and fixing errors and editing css to make sure everything looked the same. And finally sucess, my website after man years of uglyness; looks awesome in IE6, Firefox, Opera and Netscape.
I advise all users to use the strict doctype and validate code, it makes everything come together. Your website and users will thank you.
My final result: http://www.mididelight.com
I never really understood the whole use strict doctype or transitional for websites. I just used transitional and never bothered to validate my code. But today I was frustrated with how my website looked on Firefox in comparison with IE6. I could not understand why if I specified a certain width that on one browser it looked great and the other it was off.
So I researched a little and changed my doctypes to strict xhtml. I then validated my code and found out I had alot of attributes, etc, that were not valid in this doctype. I knew that would happen but what I didn't know is that when I changed the doctype that both browsers would now come up with the same errors and same width settings, and so on.
I spent the next couple of hours validating my code and fixing errors and editing css to make sure everything looked the same. And finally sucess, my website after man years of uglyness; looks awesome in IE6, Firefox, Opera and Netscape.
I advise all users to use the strict doctype and validate code, it makes everything come together. Your website and users will thank you.
My final result: http://www.mididelight.com