Link to home
Start Free TrialLog in
Avatar of a182612
a182612

asked on

Netscape 7.2 shows this error I.E is fine <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>

I am using a dreamweaver template and it has a server side include on it.  When I do this and view in I.E.  It's perfect.  If I remove the code from the template it messes up the SSI in both browsers.  I tried commenting it out and removing it and both result in messing up the way the SSI looks on the page.  Is there anything I can do to exclude this from just Netscape?
Avatar of _Maddog_
_Maddog_
Flag of United States of America image

Hi a182612,

You said "Netscape 7.2 shows this error", which error are you talking about? the <%@LANGUAGE="JAVASCRIPT"....%> part is an ASP language declaration, it is not an error message.

Can you please try to elaborate on the nature of your problem?

Regards,
Maddog.
Avatar of a182612
a182612

ASKER

Netscape show the actual text  <%@LANGUAGE="JAVASCRIPT"....%> in the browser window as the top line in the body of the document.  I.E. does not.  I tried commenting it out and then also actually deleting that one line of code and both options make my CSS stop working for that page.
Ok, I understand.
And do you use ASP in your code?
Do you run it from a server? (it is necessary if you want to use Server-Side-Includes)

If all you want is the possibility of using Server-Side-Includes, you can try changing the file extension to .shtml and removing that line.

Avatar of a182612

ASKER

I am using the .shtml extension and my server is set up to run asp pages.  The page is using CSS for absolute positioning of the items on the page.  I tried removing that line and it messes up my absolute positioning for CSS in both browsers.  It's weird.  On a page not using CSS it does not matter if I remove the line.
Avatar of a182612

ASKER

What I ended up doing is to just add a white box that is positioned exactly where the text comes up for Netscape and that hides it from the user.  That way my CSS code did not get messed up.
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial