| Author |
Mozilla not loading style sheets when using HTML 4.01 Strict?
|
|
|
| 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
| |
| Barry Pearson 2004-02-16, 4:30 pm |
| 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/
| |
| David Dorward 2004-02-16, 4:30 pm |
| 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/>
| |
| Jim McMaster 2004-02-18, 2:28 am |
| Iamhavingthissameproblem.CananyonetellmehowtoconfigureTomcat
todeliverthestylesheetastext/cssratherthantext/plain?Thereisno
statichttpdserverinvolved.
--
--
JimMcMaster
mailto:jim.mcmaster@comcast.net
"DavidDorward"<dorward@yahoo.com>wroteinmessage
news:c0r9a8$8r1$1$8300dec7@news.demon.co.uk...
>Aaronwrote:
>
it[color=blue]
can[color=blue]
>
>WithoutaURItocheckI'llhavetoguess.
>
>ConfigureyourwebservertoittellsMozillathatitisaCSSfileandnot
a
>plaintextfileorapointplusfile.
>
>Howyoudothisdependsonthehttpdsoftwareyouuse.
>
>--
>DavidDorward<http://dorward.me.uk/>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |