On 14/11/2005, at 17:30, Josias Thoeny wrote:

On Mon, 2005-11-14 at 17:08 +0100, Carlos Palol wrote:
Hi, does anyone know why i´m having this line:

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

inserted at the first line of my <head> when displaying search results?
it's also present in lenya interface html.

That was inserted because Internet Explorer has problems with the XHTML
XML-prolog:
<?xml version="1.0" encoding="UTF-8"?>

Do you think there's a problem with this meta tag?


thanks,

I'm using a script to override some css styles when the user-agent is internet explorer and keep my styling:

...
<link type="text/css" href="/default/live/css/www.global.css" rel="stylesheet"> <script src="/default/live/javascript/patchMSIEStyles.js" type="text/ javascript">//</script>
...

where patchMSIEStyles.js contains:

var     myUserAgent = navigator.userAgent.toLowerCase();
if (myUserAgent.indexOf("msie") !=-1 && myUserAgent.indexOf ("windows") !=-1){
        document.createStyleSheet("/default/live/css/www.IEPatch.css");
}

I think it´s alright and works everywhere but in search results page. I seems to me it could be malfunctioning because of the META, but don't know yet why...

Carlos Palol
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to