W3C home > Mailing lists > Public > www-style@w3.org > July 2000

Re: Web Page corruption Due to Stylesheet or Netscape? - WORKAROUND!

From: Ginny Schmidt <ginny.schmidt@lmco.com>
Date: Fri, 21 Jul 2000 14:24:29 -0400
To: www-style@w3.org, hwg-style@hwg.org
Message-id: <3978955D.613D7910@lmco.com>
The workaround to this problem is to make an HTML file out of your .css file
and wrap the tags <STYLE> </STYLE> around it. Then include the file like
this on your .jsp page:

 <%@ include file="/html/textOnly/Page.html" %>

This stops the bug in Netscape.


Ginny



Ginny Schmidt wrote:

> Hi,
>
> I am using Netscape 4.72 and am using stylesheets in with Java server
> pages as such:
>
> <HTML>
> <HEAD>
>
>    <LINK REL="stylesheet" type="text/css"
> HREF="/cascadingStyleSheets/Page.css">
>    <LINK REL="stylesheet" TYPE="text/css"
> HREF="/cascadingStyleSheets/Document.css">
>
> <TITLE>My title</TITLE>
> </HEAD>
>
> Sometimes when I traverse through the menu items on my web site, I
> notice the contents of the Page.css is shown at the top of the page
> overlaying the header of the web page. I am editing the
> style sheet using TopStyle Lite from HomeSite and it seems that there
> are no errors in the files.
>
> Does anyone know if this is a browser specific problem (I don't see this
>
> happening on IE) or
> a style sheet problem.
>
> Thanks!
>
> Ginny Schmidt
>
> ginny.schmidt@lmco.com
Received on Friday, 21 July 2000 14:36:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:05 GMT