Quote:
|
It appears most sites use an XHTML doctype,
|
Not hardly. The use of the XHTML doctype is growing, but I see far more that are still using HTML 4.01 Transitional.
Quote:
|
but when I tested my site with that doctype my page didn't display properly in Firefox.
|
That's because there are more stringent rules to using the XHTML doctype, and Transitional is slightly more forgiving than Strict. Still, you have to follow the rules required for that doctype.
Quote:
|
For example when the xhtml doctype was used my navigation and content <div> where not centered like the rest of the page leaving the navigation and content on the left margin.
|
How did you code it to achieve centering ? If you used 'div align="center"' it was incorrect for XHTML.
If you're not ready to code to the higher standards of XHTML, then stick to HTML 4.01, but use HTML 4.01 STRICT instead of Transitional. Strict forces you to use cleaner code and follow some real rules.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|