[WEB4LIB] Netscape 7 and stylesheet on III server

Thomas Dowling tdowling at ohiolink.edu
Tue Sep 17 11:31:51 EDT 2002


At 11:10 AM 9/17/2002, Bob Duncan wrote:
>Greetings,
>
>[Cross-posted to Web4Lib and innopacusers lists]
>
>We're having a problem with Netscape 7 (and Beonex Communicator) not
>finding/recognizing stylesheets on our III server.  No other browsers
>tested appear to have any problems finding stylesheets on this server, and
>Netscape 7 has no problem finding copies of the same stylesheets when
>they're on servers other than the III box.


Recent versions of Mozilla (hence NS7 and Beonex) actually require CSS 
stylesheets to comply with the standard--gasp!--and arrive with a MIME type 
of "text/css".  A  .css file extension doesn't mean anything by itself.

Innovative's server sends:

   Server: III 100
   Content-Type: text/html
   Client-Date: Tue, 17 Sep 2002 15:25:07 GMT
   Client-Peer: 139.147.187.19:80
   MIME-Version: 1.0
   Set-Cookie: SESSION_ID=1032276526.29706; path=/

"Content-type: text/html" is wrong.  I'm not aware of the III webpac having 
a configurable set of MIME types, so you may want to locate the stylesheet 
on another server where it can be served correctly.


Two other points.  First, note that a CSS file should only have CSS syntax, 
so remove the HTML comments at the beginning and end of the file.  Second, 
to avoid potential conflicts with user style settings, you should always 
set foreground and background colors together.  If you set only background 
colors without knowing my foreground, you could be making the page illegible.


Thomas Dowling
OhioLINK - Ohio Library and Information Network
tdowling at ohiolink.edu




More information about the Web4lib mailing list