Re: Linking stylesheets in netscape question...

by "Eric A. Meyer" <eam3(at)po.cwru.edu>

 Date:  Sun, 7 Nov 1999 22:25:20 -0500 (EST)
 To:  HWG CSS Style List <hwg-style(at)hwg.org>,
HWG HTML Basics List <hwg-basics(at)hwg.org>
 In-Reply-To:  blunergan
  todo: View Thread, Original
On Sun, 7 Nov 1999, Brian A. Lunergan wrote:

> In my own coding to date I have used what appears to be the proper HREF
> attribute. HOWEVER, on Netscape's own DevEdge Online HTML docs page it
> describes the proper link for an external stylesheet as being:
> 
> <!-- link to an external style sheet -->
> <LINK REL=STYLESHEET TYPE="text/css" SRC="styles/style1">

   This is incorrect, as sometimes happens in documentation.  The SRC should
be replaced with an HREF; other than that, the example is correct (the quotes
around "stylesheet" are technically optional, although personally, I always 
put them in).

> Is Bobby right or wrong?

   Assuming that you wrote the LINK correctly-- not having seen it, we've no
way to know-- that Bobby is wrong.  However, bear in mind that an apparently
unrelated error could cause Bobby to become confused.  In any case, this
might be worth reporting to the Bobby folks as a bug. 
   Have you tried running your page through an HTML validator?  I recommend
the one at http://www.htmlhelp.com/, as it has more verbose error reporting.
If it also gives you an error, then odds are there's a glitch in your coding.
If not, then Bobby is definitely out to lunch.

> Are Netscape's developer pages right or wrong?

   Wrong, at least in this case.

> Did
> Netscape finally accept the W3C standard for editions later than 4.5? Does
> Netscape see an external style sheet referenced with <LINK HREF="?"> or not?

   It should.  Netscape 4.x (all such versions) support the LINK element for
linking external stylesheets, to the best of my knowledge.  What isn't
supported by Netscape 4.x is the @import directive, which is another way to
associate external stylesheets with documents.
   For more information on CSS support in Netscape, Explorer, and Opera, see:

     http://www.webreview.com/pub/guides/style/mastergrid.html

> Is Netscape still playing compatibility games and trying to be the standard
> setter itself?

   Not in my opinion, although that's really all it is-- an opinion.  The
latest Gecko/Raptor/whatever builds are remarkably standards-compliant in the
areas of HTML, CSS, and DOM handling.  There are still bugs, to be sure, but
little or nothing in the way of proprietary shenanigans.  From what I've
seen, anyway; your reality may vary.

--
Eric A. Meyer  #  eam3(at)po.cwru.edu  #  http://www.cwru.edu/home/eam3.html
   Hypermedia Systems Manager
   Digital Media Services              http://www.cwru.edu/dms/dms.html
   Case Western Reserve University     http://www.cwru.edu/

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.