W3C home > Mailing lists > Public > www-style@w3.org > September 1997

Re: problem importing style sheets

From: Liam Quinn <liam@htmlhelp.com>
Date: Fri, 12 Sep 1997 09:37:02 -0400
Message-Id: <3.0.3.32.19970912093702.008d6380@undergrad.math.uwaterloo.ca>
To: Asheesh Chowdhary <asheesh@everything.com>, "'www-style@w3.org'" <www-style@w3.org>
-----BEGIN PGP SIGNED MESSAGE-----

At 08:50 AM 12/09/97 -0400, Asheesh Chowdhary wrote:
>I am having some trouble importing style sheets into my documents.
>
>The code is as follows:
>
>For the style sheet:
>	
>BODY
>	{
>		background: #993300;
>		font-family: Bodoni, serif;
>		font-size: 30px;
>		font-weight: bold;
>		text-align: center;
>	}
>A:link, A:visited, A:active
>	{
>		color: #fff;
>		text-decoration: none;
>	}
>ADDRESS
>	{
>		color: #cc1111;
>		font: bold 50% Eurostyle, sans-serif;
>	}
>
>for the actual HTML file:
><HTML>
><HEAD>
>	<TITLE>CSS TEST 1</TITLE>
>		<STYLE TYPE="text/css">
>		@import HREF="test1.css";

The syntax for @import is

@import url(test1.css);

but the browsers in which you're testing do not support @import so you're 
better off using the LINK element.

>if I use the "link rel" command I get partial importation, but none of 
>the colors show....I have tried with IE 4.0, Navigator 4.0 and 
>Navigator 3.0 and had no success....

Navigator 3.0 does not support CSS.  If you provide us a URL that uses the 
LINK element, we can probably tell you why "none of the colors show" in 
IE4 and Navigator 4.0.

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQB1AwUBNBlFfA/JhtXygIx1AQGmZAMAyytAHERiEJMpvHmyuvcR4gShP15PWzlV
E89XYBa7EA2AzpvmKCVJdh7wSm2w2qBMAvt5FBor0nx8aclbA1g3FLiEk2AQjbJQ
A8AJ76kuJDnIgfVdq6i3lAm5WYVErm3V
=rK6L
-----END PGP SIGNATURE-----

Liam Quinn
===============  http://www.htmlhelp.com/%7Eliam/  ===============
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/
======  PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html  =====
Received on Friday, 12 September 1997 09:36:18 GMT

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