Jump to content

Weird Dreamweaver Problem


Recommended Posts

Hey guys,

Heres the situation:

Me and a friend are both working on a website together. My friend has done a bit of the css, so I open up the css file and take a look. I close it and open up index.php

On index.php, a link links the stylesheet to the page. While i'm editing index.php, my friend makes a change to the css file. If i edit index.php and save it, it will overwrite the css that he edited with what I viewed earlier.

 

It's getting really annoying because if I edit index.php it erases almost all css except for the bits that I saw when I first opened the css file earlier.

In order to edit index.php I have to first open the css file to make sure it doesn't erase everything.

 

Anyone have the same problem?

Link to comment
Share on other sites

  • 2 weeks later...

Refresh your file cache before saving. If you link to the style sheet in the index.php file, when you save index.php file DW will automatically save that file's last-known dependencies (herein, css files) onto the server with the file. So if the file cached on your computer is not the most recent one, the one on the server will indeed be overwritten when you save the css file.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.