By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,767 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,767 IT Pros & Developers. It's quick & easy.

css to be or not to be?

P: n/a
Can anyone tell me why an external css file which works fine in ie & ns on
my computer will only work as designed on ie when uploaded to the web.
Netscape ignores it completely. I am using ns7.01 and ie6 and dw2004mx?
lyndonaus
Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"lyndonaus" <ly*******@netscape.net> wrote in
news:3f*********************@uq-127creek-reader-01.brisbane.pipenetworks.
com.au:
Can anyone tell me why an external css file which works fine in ie &
ns on my computer will only work as designed on ie when uploaded to
the web. Netscape ignores it completely. I am using ns7.01 and ie6 and
dw2004mx? lyndonaus


Check the URL for the presence of spaces and/or backslashes. IE is likely
to be more forgiving of such malformations.
Jul 20 '05 #2

P: n/a
lyndonaus wrote:
Can anyone tell me why an external css file which works fine in ie &
ns on my computer will only work as designed on ie when uploaded to
the web. Netscape ignores it completely. I am using ns7.01 and ie6
and dw2004mx? lyndonaus


URL?

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
Jul 20 '05 #3

P: n/a
lyndonaus wrote:
Can anyone tell me why an external css file which works fine in ie & ns on
my computer will only work as designed on ie when uploaded to the web.
Netscape ignores it completely. I am using ns7.01 and ie6 and dw2004mx?


A URI would be more helpful. My guess would be that the server claims the
file contains something other then text/css. IE second guesses the author
and treats it as CSS anyway, Netscape rejects it on the principle that it
as it doesn't know what the style sheet is, it shouldn't risk playing with
it. (Which is a good thing - if anyone comes up with a non-css style sheet
language that is in some ways css-like, it could play havock with MSIE)

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #4

P: n/a
in post
<news:3f*********************@uq-127creek-reader-01.brisbane.pipenetwor
ks.com.au>
lyndonaus said:
Can anyone tell me why an external css file which works fine in ie &
ns on my computer will only work as designed on ie when uploaded to
the web. Netscape ignores it completely.


the css is being sent as text/plain or as application/x-pointplus
instead of text/css. tell your crappy host to fix it, in the mean time
you can use AddType text/css .css in a .htaccess file.

--
brucie
22/December/2003 06:17:09 pm kilo
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.