ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CSS and Firefox with W3C CSS validator

February 21, 2008 8:58pm

Subscribe [2]
  • #1 / Feb 21, 2008 8:58pm

    smartlight

    6 posts

    I am still having problems with Firefox viewing the CSS. It does not show up at all. When I run the CSS validation this error shows up:

    URI : http://www.andrewleger.com/
    11 File not found:
    http://www.andrewleger.com/index.php?css=site/site_css.v.1203507711: You can’t import an HTML document

    The EE script looks like this:

    <link rel='stylesheet' type='text/css' media='all' href='{stylesheet={my_template_group}/site_css}' />
    <style type='text/css' media='screen'>@import "{stylesheet={my_template_group}/site_css}";</style>


    Running Firefox version: 2.0.0.12

    Everthing looks great in IE6 and above.


    I can also see the CSS just fine when I link directly to it:

    <a href="http://www.andrewleger.com/index.php?css=site/site_css.v.1203507711">http://www.andrewleger.com/index.php?css=site/site_css.v.1203507711</a>
  • #2 / Feb 22, 2008 6:23pm

    grantmx

    1439 posts

    Try this fix.

  • #3 / Feb 23, 2008 12:58am

    smartlight

    6 posts

    Sorry, still didn’t work. I tried changing the char set and installing the new file from the patch. So I linked externally from EE.

    This is the only way I can get it to work :(

    <link rel="stylesheet" type="text/css" href="/jscss/leger_site.css">
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases