FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Different Doctype, how can I make them both work

 


Mgccl
you see, PHPnuke use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> HTML 4.01 and PHPfreechat uses XHTML STRICT. That makes these 2 things can't show in the same page with out having problems.
So is there any way to show those 2 in the same page beside use iframe tags?
AftershockVibe
Your browser should still be able to render them both correctly because PHPNuke will be the chosen doctype for the overall page (as presumably freechat is a module loaded within it).

Provided you remove the doctype declaration from freechat, transitional should handle the xhtml elements.

Of course it won't validate using the W3C's validator but it should still work.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.