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 glitch

January 04, 2008 8:50pm

Subscribe [0]
  • #1 / Jan 04, 2008 8:50pm

    Cheif

    626 posts

    Everything running fine, a few minor changes to css template and bam… broken site. Emptied cache, c&p;from local install, re-created CSS template, created new blank CSS template.. no joy anywhere ?

    Template Group:
    2008

    CSS Template:
    D69_CSS

    Index Template:

    {assign_variable:my_template_group="2008"}
    <link rel='stylesheet' type='text/css' media='all' href='{stylesheet={my_template_group}/D69_CSS}' />

    Firebug Error Log:

    The stylesheet http://dsixnine.com/?css=2008/D69_CSS.v.1199521758 was not loaded because its MIME type, “text/html”, is not “text/css”.

    Absolutely baffled !

  • #2 / Jan 04, 2008 9:07pm

    Cheif

    626 posts

    Sorted… I activated the .htaccess to remove index.php and the code used was trying to input index.php? but the code was stripped, resorted to

    <link rel=‘stylesheet’ type=‘text/css’ media=‘all’ href=’/D69_CSS’ />

    Seems to be working thus far 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases