svn and stylesheets!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

svn and stylesheets!

Post by panic! »

What does everyone here do about stylesheets, in the way that they are a file everyone is constantly using so versions go out of date really quickly and I find I have to merge manually all the time.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: svn and stylesheets!

Post by Benjamin »

Have the designer commit them to SVN?
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: svn and stylesheets!

Post by Zoxive »

Thats basically what i do, then because i tell the browser to cache them, you need to have it update.

A quick trick i use is to just change the number after the v. (Like versions)

Code: Select all

<link rel="stylesheet" href="/cache/style.css?v=0" type="text/css" />
Post Reply