Sent by Andrew Close on 31 August 2004 19:07
On Mon, 30 Aug 2004 21:49:06 -0700, James Nakagawa [EMAIL-REMOVED]> wrote:
> I'm creating a site that uses multiple stylesheets. One such stylesheet
> is dynamically prepared and has a .php extension, but I specify that it
> has a "text/css" MIME-type. For some reason, Mozilla does not pick up
> this stylesheet, but only when I include an XHTML DOCTYPE. Internet
> Explorer does it correctly.
<snip>
page 14, Cascading Style Sheets 2nd Edition:
"The filename extension is not required, but some browsers won't
recognize the file as containing a style sheet unless it actually ends
in '.css', even if you 'do' include the correct type of text/css in
the link element. In fact, some web servers won't hand over a file as
text/css unless its filename ends with '.css'. So make sure you name
you style sheets appropriately."
i bought the book and began reading it AND i've actually learned something. :)
HTHs,
andy
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/