Firefox loading stylesheet even though there is no stylesheet

Discussion in 'CSS' started by jaguarr, Dec 30, 2007.

  1. #1
    I have a very strange problem. My firefox is ignoring the changes I made to the style sheet. I have this in my webpage and the style.css file location is right (one directory up).

    <link href="../style.css" rel="stylesheet" type="text/css">

    Because it's ignoring my new changes, I deleted everything in my style.css file, and the page still displays as though the file exists. However, if I delete the above line, then the page will display without any style.

    IE is loading with the changes I made though. I have also checked my stylesheet with the W3C css validation and it has no error.

    So, any body know why this is happening?
     
    jaguarr, Dec 30, 2007 IP
  2. manishk

    manishk Peon

    Messages:
    63
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Rename the stylesheet and then try it
     
    manishk, Dec 30, 2007 IP
    jaguarr likes this.
  3. jaguarr

    jaguarr Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey, that works! Thank you.

    But why?
     
    jaguarr, Dec 30, 2007 IP
  4. anantk

    anantk Active Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    that is funny,
    and it used to happen to me when I used a free host earlier.
     
    anantk, Dec 30, 2007 IP
  5. TDD-Designs

    TDD-Designs Peon

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if the stylesheet is renamed it forces the browser to cache the new one, and stop using the already cached style.css, so it has to use the new coding.
     
    TDD-Designs, Dec 30, 2007 IP
  6. mymaldives

    mymaldives Well-Known Member

    Messages:
    153
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #6
    mymaldives, Jan 18, 2008 IP