Re: Calling external stylesheets

by Alan Cummings <acummings(at)kawartha.com>

 Date:  Mon, 13 Sep 1999 19:25:18 -0400
 To:  hwg-basics(at)hwg.org
 In-Reply-To: 
  todo: View Thread, Original
I have always used method one.. as far as i know method
two doesn't work in Netscape.

Alan.


Rosemary Norwood wrote:
>
>Hi all,
>
>I've just started experimenting with CSS and I'd like to call an external
>CSS in the <HEAD>
>
>So far, I've seen two methods.
>
>Method 1:
>
><HEAD>
><LINK rel=stylesheet href="style.css" class="text/css">
></HEAD>
>
>Method 2:
>
><HEAD>
><STYLE type="text/css">
><!--
>@import url(style.css);
>-->
></STYLE>
></HEAD>
>
>
>I can get method 1 to work fine, Method 2 doesn't seem to work, however.
>Anyone know why?
>
>And which is the better or more compatible way to call an external CSS?
>Anyone know of a better way?
>
>Thanks!
>
>Rosemary
>
>liane(at)mushhaven.net
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA