My webpage ignores changes in CSS file

后端 未结 5 2010
天命终不由人
天命终不由人 2021-01-23 06:11

No matter what I change in my .css file, the page remains the same - what\'s more, neither changing the link tag so that it points to another .css file nor deleting it completel

5条回答
  •  情书的邮戳
    2021-01-23 06:45

    Solved, and it wasn't about caching! I thought .css files are to blame, but the mistake was between chair and keybord.

    The body of my html/php code looked like this:

    
    
    
    
    *main page code*
    
    
    

    My footer and main page were all moved inside the left menu (I don't know what exactly caused this problem, but I know how to solve it now). I mistakenly blamed some error in .css file of this, so I asked this question. If I had e.g. changed the background color or made some other change clearly visible on the tiny space left for my main page, it would become clear that the .css file updates normally and problem is somewhere else.

    I just changed the position of include tags and everything is OK:

    
    
    *main page code*
    
    
    
    
    

    Sorry for asking you for something else than I really wanted, and thanks for teaching me how to solve caching problems (I'm almost sure I'll face them some day in the future).

提交回复
热议问题