Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web page displays different in different browsers?

Status
Not open for further replies.

computergeek2

Programmer
Jun 6, 2002
1
CA
Hello,

Has anyone had the problem where their web page displays differently in different browsers? Page is fine in IE 5.0 but displays totally different in IE 6.0 ?

Computergeek2
(Same as Computergeek, but home computer)
 
Yes. Page rendering in IE 6 has caused me many a problem.
Tips that I have found to help.

Take your html output an use to check it. It seems that ie6 doesnt let things slide like previous versions.

Also try and specify the version of html to use. ie !DOCTYPE

search at for IE6 Render Problems.

hth
 
You need to adjust the PM.ASP file in the _scriptLibrary subdirectory. It has a function that returns true/false depending on if it thinks the browser is DHTML capable. It is hard coded to expect IE4 and IE5 as DHTML, and all else is a lowly 'down level' browser.

You need to find this function and update it to include IE6 (and Netscape 6 too).

function _SOM_isDHTMLBrowser()
{
if (typeof(this._isDHTMLBrowser) == 'undefined')
{
this._isDHTMLBrowser = false;
var userAgent = String(Request.ServerVariables('HTTP_USER_AGENT'));
if (userAgent.indexOf('MSIE 4.') != -1 ||
userAgent.indexOf('MSIE 5.') != -1 ||
userAgent.indexOf('MSIE 6.') != -1 ||
userAgent.indexOf('Mozilla/5') != -1 )

this._isDHTMLBrowser = true;
}
return this._isDHTMLBrowser;
}
(Content Management)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top