Re: Error Message for External Style Sheet

Yves Lafon <[email protected]>
Newsgroups gmane.org.w3c.validator.css
Message-ID <[email protected]>
On Thu, 16 Feb 2012, [email protected] 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).
Cheers,

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

         ~~Yves
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.