Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - DOCTYPE - Which file?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DOCTYPE - Which file?

 Post Reply Post Reply
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Topic: DOCTYPE - Which file?
    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
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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?


Edited by -boRg- - 01 October 2007 at 9:52am
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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...
 



Edited by Info_Tech - 01 October 2007 at 6:13pm
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.