Hello,
I am unsure what a correct doctype is foe a version 3.1 template. If I use this in the head:
---------------------------------------------------------------------------------------
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: tempate.php
* @Package: GetSimple
* @Action: eziStart theme
*
*****************************************************/
?>
<!DOCTYPE html>
<html lang="en" >
<head>
<link href='http://fonts.googleapis.com/css?family=PT+Serif' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="<?php get_theme_url(); ?>/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php get_page_clean_title(); ?></title>
<?php get_header(); ?>
</head>
<body>
----------------------------------------------------------------------------
There is no syntax highlighting in the editor, which suggests there is a problem somewhere. If I remove the lines associated with the doctype the syntax highlighting re-appears. That is why I thought I might have a problem with the doctype statement.
The innovation theme uses:
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" > <!--<![endif]-->
If I use that the syntax highlighting is OK, but it seems rather complicated.
Can anyone shed any light on what the correct approach is here?
Thank you, Michael.
I am unsure what a correct doctype is foe a version 3.1 template. If I use this in the head:
---------------------------------------------------------------------------------------
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: tempate.php
* @Package: GetSimple
* @Action: eziStart theme
*
*****************************************************/
?>
<!DOCTYPE html>
<html lang="en" >
<head>
<link href='http://fonts.googleapis.com/css?family=PT+Serif' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="<?php get_theme_url(); ?>/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php get_page_clean_title(); ?></title>
<?php get_header(); ?>
</head>
<body>
----------------------------------------------------------------------------
There is no syntax highlighting in the editor, which suggests there is a problem somewhere. If I remove the lines associated with the doctype the syntax highlighting re-appears. That is why I thought I might have a problem with the doctype statement.
The innovation theme uses:
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" > <!--<![endif]-->
If I use that the syntax highlighting is OK, but it seems rather complicated.
Can anyone shed any light on what the correct approach is here?
Thank you, Michael.