Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

<link> tag can't match the css file

0 views
Skip to first unread message

Hernán Castelo

unread,
Jun 1, 2005, 10:03:01 AM6/1/05
to
hi
i'm trying to do :
<link rel="stylesheet" type="text/css" href="myurl..../inc/css/style.css"/>

from the url field of the browser
i can normally open the "style.css" with notepad
but thru the <link> tag, IIS don't match the file ??
should i add some configuration to run CSS ?
i'm using URLScan
and have activated the .css extension

thanks
IIS 5

--
atte,
Hernán Castelo
SGA - UTN - FRBA


Adrienne

unread,
Jun 1, 2005, 1:24:05 PM6/1/05
to
Gazing into my crystal ball I observed "Hernán Castelo"
<bajop...@hotmail.com> writing in
news:u6SMoGrZ...@TK2MSFTNGP10.phx.gbl:

> hi
> i'm trying to do :
><link rel="stylesheet" type="text/css"
>href="myurl..../inc/css/style.css"/>
>
> from the url field of the browser
> i can normally open the "style.css" with notepad
> but thru the <link> tag, IIS don't match the file ??
> should i add some configuration to run CSS ?
> i'm using URLScan
> and have activated the .css extension
>
> thanks
> IIS 5
>

Is IIS serving the CSS file as a text file?

I also see that you are using XHTML notation. Are you serving the document
correctly as Content-Type:Application/xhtml+xml? Are you aware that IE
cannot parse Application/xhtml+xml and must be served text/html? If you
are unable to serve documents based on the HTTP Accept header, then you
should stick to HTML 4.01, which _is_ served as text/html. Also note that
the ending slash should have a space before the closing quote, eg: " /> not
"/>.

Do you have a URL? There may be other issues affecting this that I cannot
see without the page source.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

0 new messages