Mozilla not loading style sheets when using HTML 4.01 Strict?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aaron

    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

    #2
    Re: Mozilla not loading style sheets when using HTML 4.01 Strict?

    Aaron wrote:[color=blue]
    > 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?[/color]

    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


    This site provides information & analysis of child support & the Child Support Agency in the UK, mainly for lobbyists, politicians, academics & media.



    Comment

    • David Dorward

      #3
      Re: Mozilla not loading style sheets when using HTML 4.01 Strict?

      Aaron wrote:
      [color=blue]
      > 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?[/color]

      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/>

      Comment

      • Jim McMaster

        #4
        Re: Mozilla not loading style sheets when using HTML 4.01 Strict?

        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: jim.mcmaster@co mcast.net
        "David Dorward" <dorward@yahoo. com> wrote in message
        news:c0r9a8$8r1 $1$8300dec7@new s.demon.co.uk.. .[color=blue]
        > Aaron wrote:
        >[color=green]
        > > I have a page done in HTML 4.01 Strict. I've noticed that on Mozilla,[/color][/color]
        it[color=blue][color=green]
        > > 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[/color][/color]
        can[color=blue][color=green]
        > > I get around this?[/color]
        >
        > 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[/color]
        a[color=blue]
        > 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/>[/color]


        Comment

        Working...