Jump to content

 at the top of my pages?


garygas

Recommended Posts

I seem to be getting this strange code at the top of my PHP pages on my site.

 

Does anyone know what it could be?

 

Source view of the top of the PHP page...

 

<!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" lang="en">

<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta http-equiv="cache-control" content="no-cache" />
  <meta http-equiv="expires" content="3600" />
  <meta name="revisit-after" content="2 days" />
  <meta name="robots" content="index,follow" />
  <meta name="publisher" content="Published by Scooters Ltd" />

  <meta name="copyright" content="..." />
  <meta name="author" content="..." />
  <meta name="distribution" content="global" />
  <meta name="description" content="Your page description here ..." />
  <meta name="keywords" content="Your keywords, keywords, keywords, here ..." />
    <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/resources/css/scooters_setup.css" />
  <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/resources/css/scooters_text.css" />
  <link rel="stylesheet" type="text/css" media="screen,projection,print" href="/resources/slimbox/css/slimbox.css" />
<script type="text/javascript" src="/resources/slimbox/js/mootools.js"></script>

<script type="text/javascript" src="/resources/slimbox/js/slimbox.js"></script> 
<link rel="icon" type="image/x-icon" href="/resources/img/favicon.ico" />
  <title>...</title>
</head>

<body>

 

However there is no '' in the original PHP page.

 

Any help would be appreciated as I am completely baffled by this one!!

i found this here http://forums.expression.microsoft.com/en-US/web/thread/41ec0edf-a897-4a7d-b7c5-e5287c5f56fd/

 

The ghost characters are called a BOM. EW defaults to using a UTF-8 format which requires text files to start with those BOM characters. The only fix I can tell is to place the following in the header

 

 

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

 

There are some fixes to this in EW Beta but I can't say for sure as I'm having install trouble. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.