| Author |
Topic Search Topic Options
|
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 October 2007 at 6:12pm |
-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
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |