Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
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.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
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
Pages: 1