vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Delete doctype header (https://vborg.vbsupport.ru/showthread.php?t=102863)

aysms 12-13-2005 01:02 PM

Delete doctype header
 
How to delete this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

from the header of all html pages?

I can't find it in any style!

Please answer me soon as possible, thank you very much

jugo 12-13-2005 01:41 PM

I would create a replacement value.

And make it replace "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" with a space....

Easiest way, I think.

BTW.. WRONG FORUM!!!

BluPhoenix 12-13-2005 01:45 PM

In the Style Manager edit the Stylevars.. the HTML Doctype is the final option, just remove everything there and the doctype will be removed on all pages.

jugo 12-13-2005 01:46 PM

Quote:

Originally Posted by BluPhoenix
In the Style Manager edit the Stylevars.. the HTML Doctype is the final option, just remove everything there and the doctype will be removed on all pages.


LMAO..>DUH....I totally forgot about that...LMAO...thanks...I feel like such a n00b.

nexialys 12-13-2005 01:48 PM

question though:

why do you want the doctype to be dropeed ?!

this is the only/first element that makes your pages looks like HTML to the browser... anybody wanting to delete this detail is in the complete wrong path to make good webpages...

Andreas 12-13-2005 02:05 PM

/me clicks Install ... *rolleyes*

jugo 12-13-2005 02:16 PM

Quote:

Originally Posted by nexialys
question though:

why do you want the doctype to be dropeed ?!

this is the only/first element that makes your pages looks like HTML to the browser... anybody wanting to delete this detail is in the complete wrong path to make good webpages...

WOW....I agree with nexialys (mark it down folks)

He is correct. if you would like to have your pages confrom to a different standard then just edit the DOCTYPE, But to remove it altogether is just plain DUMB....OK Maybe not dumb, but definitely not a good strategy.

Princeton 12-13-2005 05:03 PM

actually, if a style is badly written it is best for owners to remove the doctype ... this way the browser will display page in quirks mode


All times are GMT. The time now is 10:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01203 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete