Previous Message
Next Message

RE: [css-d] css file extensions?

Sent by Salvatore Palmisano on 31 January 2002 13:01


I just renamed one of my css pages to page.txt and then to page.bar (and
changed the reference to it as well) and both worked as expected in MSIE 6
in Win2kPro SP2.

.Salvatore

-----Original Message-----
From: [EMAIL-REMOVED]
[EMAIL-REMOVED]]On Behalf Of my2cents
Sent: Thursday, January 31, 2002 12:42 PM
To: [EMAIL-REMOVED]
Subject: [css-d] css file extensions?


hello good list folks,

I have an html page that contains several external sheets: <LINK
REL="StyleSheet" HREF="my_styles.css" type="text/css">

I'm wondering about the file extension of the imported sheet. Is it
necessary they be named foobar.css? Will foobar.html work? Will foo.bar
work (a custom extension)? (In my environment/cms/etc, it'd be much easier
if i could name them .html instead of .css.)

I suppose there are two angles: Most Importantly: does the
browser/html/code have a problem with it?  2nd: does the webserver have a
problem with it? (A mime type issue, eh, which should just be a
configuration issue)

Does the answer very by browser? (I've got to support just about
everything, including 3.0's.) Anything else I should consider?

Thanks for all your insight,
.natek
Previous Message
Next Message

Message thread: