Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-10-11 04:09:13

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,120
Website Mastodon

Strange IE issues

I have converted a flat html site into a TxP driven site. All went fine until i viewed the site in Internet Explorer >9 . it was borked.

I traced the issue to the fact that i was calling the meta from a form:

Meta_form

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>North American Conference</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/assets/css/style.css">
</head>

and in my pages i was calling it thus:

<!-- meta ==============   -->
<txp:output_form form="meta" />

BUT if i include the meta info directly in my pages the problem was resolved.

Anyone have any ideas why this is happening?


…. texted postive

Offline

#2 2013-10-11 10:17:33

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Strange IE issues

Just a guess, but maybe because you are effectively putting a HTML comment before the doctype is declared. Personally I’d always put the doctype right into the top of the page template itself, not in a form.

Offline

#3 2013-10-11 16:09:22

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Strange IE issues

It has to be the comment, to the browser there is no difference between the two other than that. The entire page is built by the server before being given to the browser.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#4 2013-10-11 16:44:50

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,120
Website Mastodon

Re: Strange IE issues

thanks all. it was the comment. now i have to check the other 5 or six sites that i have done this!

don’t we just love to hate Internt Explorer.


…. texted postive

Offline

Board footer

Powered by FluxBB