vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Odd bug: Doctype not recognized by IE9 (https://vborg.vbsupport.ru/showthread.php?t=265775)

Crazy-Achmet 06-25-2011 09:35 AM

Odd bug: Doctype not recognized by IE9
 
1 Attachment(s)
Hey,

i just made a fresh vB 3.8.7 install and i have seen that the IE9 (haven't tested with IE8, ...) doesn't recognize the HTML Doctype. If i look at the source, it's obvious that the browser changes the original doctype ( <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">) to a comment.

Maybe someone can help to fix the problem cause i'm building an HTML5 Template and it's necessary to tell the IE to render the page correctly.

Thanks in advance

Florian

BirdOPrey5 06-26-2011 12:01 PM

I don't know if it's related but I had to put this line into the headinclude template of my 3.8 forums for IE9 to correctly render the pages:

Code:

<meta http-equiv="X-UA-Compatible" content="IE=9" />

Pandemikk 06-27-2011 11:00 PM

I'm not sure that's a IE 9 rendering bug. Are you sure it isn't a vB setting?

Try changing the doctype. Validate your web site: http://validator.w3.org/ does it say you don't have a doctype declared?

Eric 06-28-2011 12:33 AM

I believe it is related to a "bug" in vBulletin with the option to send the IE 7 header. Do you have this enabled?

Crazy-Achmet 06-28-2011 07:10 AM

Eric, you're right, it was the IE7 header setting. "Damn stupid bug"! :D

Thanks alot for your help


All times are GMT. The time now is 06:53 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.01038 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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