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.

Firefox stylesheet problem

October 26, 2007 6:27am

Subscribe [4]
  • #1 / Oct 26, 2007 6:27am

    raisdk

    4 posts

    Hi guys

    I look through this forum and couldn’t find solution to my problem.
    My site is working in IE & Safari.
    Problem is there is no stylesheet in Firefox.

    Here is the link to site:

    http://www.dobrevibracije.dk

    In advance thanks

  • #2 / Oct 26, 2007 10:01am

    e-man

    1816 posts

    Welcome to EE 😊
    I’d suggest replacing this:

    <link rel='stylesheet' type='text/css' media='all' href='http://dobrevibracije.dk/index.php?css=dobrevibracije/site_css' />
    <style type='text/css' media='screen'>@import "http://dobrevibracije.dk/index.php?css=dobrevibracije/site_css";</style>

    with this:

    <link rel="stylesheet" type="text/css" media="all" href="http://dobrevibracije.dk/index.php?css=dobrevibracije/site_css" />

    Note the use of “”.

  • #3 / Oct 26, 2007 10:56am

    raisdk

    4 posts

    I have done that, but still not working.. :-(

    Thanks for reply.

  • #4 / Oct 26, 2007 11:11am

    e-man

    1816 posts

    Weird this. What if you do

    media="screen"
    and
    href="http://www.dobrevibracije.dk/index.php?css=dobrevibracije/site_css"

    Note the added www.
    Also check your CSS and Markup in a validator. There’s quite a few errors still.

  • #5 / Oct 26, 2007 11:16am

    e-man

    1816 posts

    Weird this. What if you do

    media="screen"
    and
    href="http://www.dobrevibracije.dk/index.php?css=dobrevibracije/site_css"

    Note the added www.
    Also check your CSS and Markup in a validator. There’s quite a few errors still.
    The sidebar nav in Safari is acting up too: I’ve added a screenshot.

  • #6 / Oct 26, 2007 11:47am

    raisdk

    4 posts

    I looked at log/access_log file and i could see the difference when opening from different browsers.
    Here is the link to file:
    http://www.megaupload.com/?d=MMB8FKCG

  • #7 / Oct 26, 2007 2:00pm

    grantmx

    1439 posts

    Is this path to your css inside of EE or outside?  And did you code it in or did you embed it?

    href="http://dobrevibracije.dk/index.php?css=dobrevibracije/site_css"
  • #8 / Oct 26, 2007 8:47pm

    Marcus Neto

    1005 posts

    There is something very strange going on with your site code as I tried to copy and paste it into dreamweaver and it made DW crash everytime I tried to open it. When I stripped out some of the object links and some other code I was able to open it in DW but you may want to take a look at that.

    In regards to your current problem though have you double-checked to see if the css file is actually a css file? Seems strange to ask that but I just want to make sure.

    Other than that I am scratching my head as I am able to put the link into firefox (on mac) and open the CSS file but the html file obviously is not able to…

    M.

  • #9 / Oct 29, 2007 9:55am

    raisdk

    4 posts

    Is this path to your css inside of EE or outside?  And did you code it in or did you embed it?

    href="http://dobrevibracije.dk/index.php?css=dobrevibracije/site_css"

    Its inside of EE..

  • #10 / Oct 29, 2007 10:58am

    grantmx

    1439 posts

    Did you code this in?  If you did, change it to:

    href="http://dobrevibracije.dk/index.php?/your_template_group/site_css"

    or do an @import to the same location to pick up the CSS template.

  • #11 / Oct 29, 2007 11:39am

    raisdk

    4 posts

    Found out what it was.
    Php bug.
    systemxtr/core/core.style.php

    Changed this line
    @header(“Content-type: text/css”)

    to:
    @header(“Content-type: text/css; charset=iso-8859-1”)

    By some reason it sends charset =0

    Now its working

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

ExpressionEngine News!

#eecms, #events, #releases