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

Mozilla not loading style sheets when using HTML 4.01 Strict?

P: n/a
Hi,

I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it
doesn't load the my external stylesheet, no matter if I attach it via 'link'
or '@import'. I don't want to have to use embedded style sheets. How can I
get around this?

Aaron
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Aaron wrote:
Hi,

I have a page done in HTML 4.01 Strict. I've noticed that on
Mozilla, it doesn't load the my external stylesheet, no matter if I
attach it via 'link' or '@import'. I don't want to have to use
embedded style sheets. How can I get around this?


Is your hosting service delivering it as type="text/css"? If not, Gecko
browsers won't treat it as a CSS. (Although they can still read it).

You may need to ask your hosting service to change.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2

P: n/a
Aaron wrote:
I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it
doesn't load the my external stylesheet, no matter if I attach it via
'link'
or '@import'. I don't want to have to use embedded style sheets. How can
I get around this?


Without a URI to check I'll have to guess.

Configure your webserver to it tells Mozilla that it is a CSS file and not a
plain text file or a point plus file.

How you do this depends on the httpd software you use.

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

P: n/a
I am having this same problem. Can anyone tell me how to configure Tomcat
to deliver the stylesheet as text/css rather than text/plain? There is no
static httpd server involved.

--
--
Jim McMaster
mailto: ji**********@comcast.net
"David Dorward" <do*****@yahoo.com> wrote in message
news:c0*******************@news.demon.co.uk...
Aaron wrote:
I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla, it doesn't load the my external stylesheet, no matter if I attach it via
'link'
or '@import'. I don't want to have to use embedded style sheets. How can I get around this?
Without a URI to check I'll have to guess.

Configure your webserver to it tells Mozilla that it is a CSS file and not

a plain text file or a point plus file.

How you do this depends on the httpd software you use.

--
David Dorward <http://dorward.me.uk/>

Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.