jonoc33 Posted May 21, 2008 Share Posted May 21, 2008 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? Quote Link to comment Share on other sites More sharing options...
Gighalen Posted May 30, 2008 Share Posted May 30, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.