Print Page | Close Window

DOCTYPE - Which file?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24549
Printed Date: 06 April 2026 at 1:38pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: DOCTYPE - Which file?
Posted By: iSec
Subject: DOCTYPE - Which file?
Date Posted: 30 September 2007 at 9:32pm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Which file on the forum controls the above?



-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: iSec
Date Posted: 30 September 2007 at 9:48pm
Ok I see that browser_page_encoding.inc is the file that controls it...
I wanted to use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
as the doctype, but some fonts on the forum became larger... is this something that can be fixed from css file or am i really missing something?


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: WebWiz-Bruce
Date Posted: 01 October 2007 at 9:51am
The forum is written in XHTML which is why the forum is declared as XHTML and not HTML.

If you change it to an HTML docutype then you will have formatting issues, and not just with text, as the browser will render the forum in the wrong engine.

Is there any reason why you want to change it from XHTML to HTML?


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 01 October 2007 at 6:12pm
Originally posted by -boRg- -boRg- wrote:

Is there any reason why you want to change it from XHTML to HTML?
 
Yes, I created a floating menu on the right side of the forum page but it won't work unless I remove the XHTML doctype... it shows up, but it wouldn't float... and when I remove the doctype it works just fine. I attached a screen shot of the menu...
 



-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: StarDust
Date Posted: 01 October 2007 at 7:11pm
Have you tried removing the doctype line?

Not with WWF but i had faced same problems and removed the line and worked like a charm for me.


-------------
http://board.ebizbd.net/">Tips, mods and skins for WWF v9.x


Posted By: iSec
Date Posted: 01 October 2007 at 8:01pm
Yes I have... but that messed up the forum page... fonts started to look weird.

-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: StarDust
Date Posted: 01 October 2007 at 9:26pm
Yes that's true. but i guess you have to modify CSS.

Did you also modified html tag? remove the xmls info from that tag.

I guess this is the only way to use that floating menu.


-------------
http://board.ebizbd.net/">Tips, mods and skins for WWF v9.x


Posted By: iSec
Date Posted: 01 October 2007 at 9:35pm
Well, Borg mentioned that it won't just mess up the fonts but it would cause some other issues like rendering the forum in the wrong engine.

-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net