W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2012

Re: Error Message for External Style Sheet

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 21 Feb 2012 05:39:28 -0500 (EST)
To: "frank.barncord@student.swic.edu" <frank.barncord@student.swic.edu>
cc: "www-validator-css@w3.org" <www-validator-css@w3.org>
Message-ID: <alpine.DEB.1.10.1202210538110.13189@wnl.j3.bet>
On Thu, 16 Feb 2012, frank.barncord@student.swic.edu wrote:

> When validating an HTML file for CSS errors with the CSS validator, the 
> correctly formatted <link rel="stylesheet" type="text/css" 
> href="styles1..css" /> is reported as an error as follows:  File not 
> found: import file://localhost/styles1.css: Operation not permitted
> Since the external style sheet isn't uploaded with the HTML file, this 
> error message seems incorrect.  Perhaps a better result might be, 
> "Embedded and Inline CSS has correctly validated.  Please validate the 
> external style sheet file separately."

The issue is not that it's an external style sheet, it's more that you are 
using 'localhost', which won't work for most people reading that page 
(unless you will be the only one to access the server from the same 
computer, of course).

Baroula que barouleras, au tiéu toujou t'entourneras.

Received on Tuesday, 21 February 2012 10:39:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:11 UTC