1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS Validates, but doesn't appear in Firefox

Discussion in 'CSS' started by neo82087, Jun 30, 2008.

  1. #1
    I'm working on a new website, and I'm not particularly experienced with HTML and CSS. The code I have created passes the W3C CSS Validation service, but does not show up in Firefox. It works in IE7. I would really appreciate if someone with a bit more experience could take a look and see if they could determine if I have an error somewhere. Thanks!

    the website is http://ego.psych.mcgill.ca/labs/koestner/SEMrush
    neo82087, Jun 30, 2008 IP
  2. Stomme poes

    Stomme poes Peon

    Likes Received:
    Best Answers:
    Trophy Points:
    Well, this is strange. I thought it had to do with these lines:
    <link rel="stylesheet" type="text/css" href="andreas02.css" media="screen,projection" />
    <link rel="stylesheet" type="text/css" href="print.css" media="print" />

    while Opera and Safari have no trouble either.

    Now on my old FF1.5 there are no errors given with the web development toolbar, but with FF2 I get this:
    The stylesheet http://ego.psych.mcgill.ca/labs/koestner/andreas02.css was not loaded ecause its MIME type, "text/plain", is not "text/css".

    Same error for the print.css

    Now you are clearly stating this in the HTML, so I wonder if there's something either with your server, or you saved them in your HTML editor wrong.

    Why FF thinks this and no other browser, I have no clue.
    Stomme poes, Jun 30, 2008 IP