Re: error in version 1.1

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 UTC