W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2005

Re: error in version 1.1

From: Gez Lemon <gez.lemon@gmail.com>
Date: Mon, 28 Nov 2005 17:15:06 +0000
Message-ID: <e2a28a920511280915mf572760y@mail.gmail.com>
To: Roberto Passeri <passerir@tiscali.it>
Cc: www-html-editor@w3.org

On 27/11/05, Roberto Passeri <passerir@tiscali.it> wrote:
> i noticed taht when i use this docype:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
> 1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
>
> i can not use asp in css files
>
> for example if i have a web page with an eternal css file,
> this file can not be named [name].asp or the style will not effects the
> page.
>
> Can you tell me why?

This sounds like more of an ASP problem rather than an HTML
specification problem. You need to set the content type for the ASP
document to let user-agents know that it's CSS (top of your document):

<% Response.ContentType = "text/css" %>

Best regards,

Gez

--
_____________________________
Supplement your vitamins
http://juicystudio.com
Received on Monday, 28 November 2005 17:18:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:55 GMT