472,952 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 software developers and data experts.

One stylesheet for different sites

Hello,

I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch. Works beautifully so far. Trouble
is, it's a manual process that eventually will break down because of
human error. In other words, there's going to come a time when I'm
tired or distracted and make a change to the sheet on site A and
propagate that to C, D and E. This leaves site B with the old sheet.
If I then make a change to the B sheet and propagate that to all the
other sites, the changes originally made will be lost. What's the
answer? A batch file? A database maybe, or is that overkill? If anyone
else has struggled with this problem, or anticipates facing it, I
would like to hear their ideas.

Cheers

Nov 1 '07 #1
3 1472
On Thu, 1 Nov 2007, whitesmith wrote:
I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch.
Just write, say,
<link href="http://www.w3.org/StyleSheets/home.css" ...
into all pages. The stylesheet may be on any other server.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Nov 1 '07 #2
On Thu, 01 Nov 2007 15:07:50 +0100, whitesmith <ap*******@hushmail.com>
wrote:
Hello,

I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch. Works beautifully so far. Trouble
is, it's a manual process that eventually will break down because of
human error. In other words, there's going to come a time when I'm
tired or distracted and make a change to the sheet on site A and
propagate that to C, D and E. This leaves site B with the old sheet.
If I then make a change to the B sheet and propagate that to all the
other sites, the changes originally made will be lost. What's the
answer? A batch file? A database maybe, or is that overkill? If anyone
else has struggled with this problem, or anticipates facing it, I
would like to hear their ideas.
I haven't checked it, but I'd think you can specify an external stylesheet
without any problems, so just one stylesheet online would do it.

Normally these kinds of file edits/updates are taken care off by systems
like CVS or Subversion (SVN). Edits/changes are commited to a repository,
one can easily update existing code with a single statement, you are
warned when a commit causes a conflict, and retrieving earlier versions of
the code is easy as pie.
--
Rik Wasmus
Nov 1 '07 #3
On Nov 1, 10:10 am, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Thu, 01 Nov 2007 15:07:50 +0100, whitesmith <apasse...@hushmail.com>
wrote:
Hello,
I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch. Works beautifully so far. Trouble
is, it's a manual process that eventually will break down because of
human error. In other words, there's going to come a time when I'm
tired or distracted and make a change to the sheet on site A and
propagate that to C, D and E. This leaves site B with the old sheet.
If I then make a change to the B sheet and propagate that to all the
other sites, the changes originally made will be lost. What's the
answer? A batch file? A database maybe, or is that overkill? If anyone
else has struggled with this problem, or anticipates facing it, I
would like to hear their ideas.

I haven't checked it, but I'd think you can specify an external stylesheet
without any problems, so just one stylesheet online would do it.

Normally these kinds of file edits/updates are taken care off by systems
like CVS or Subversion (SVN). Edits/changes are commited to a repository,
one can easily update existing code with a single statement, you are
warned when a commit causes a conflict, and retrieving earlier versions of
the code is easy as pie.
--
Rik Wasmus
My thanks to Rik and Andreas for taking time to reply. I'll give both
approaches a try and see what happens.

Nov 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: techie | last post by:
Hi All, I have a portal working on an intranet for a company. The portal was designed keeping in mind the resolution of 1024*768. I am including a ..css file in all the files. Now i have to make...
6
by: Brian | last post by:
A question of minutiae: I will soon develop a site for a business. I hope to provide the client with enough knowledge about css and html that she can take it over when it's done and maintain it...
3
by: Brian | last post by:
Not really on topic, but it's interfering with my development a bit. I'm using Moz 1.3/Win 2k, and have the following declaration in my user style sheet. body.home { min-width: 90% !important ;...
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/authoring-faq Posting-Frequency: twice a week (Mondays and Thursdays) Last-modified: August 28, 2002 Version: 1.15 URL: http://css.nu/faq/ciwas-aFAQ.html...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/authoring-faq Posting-Frequency: twice a week (Mondays and Thursdays) Last-modified: April 10, 2003 Version: 1.16 URL: http://css.nu/faq/ciwas-aFAQ.html Maintainer:...
3
by: David Blickstein | last post by:
Hi, I have a Schema and a number of different XSLT stylesheets to translate to different things. One stylesheet translates it to HTML. I'd like to generate the XML files such that when loaded...
15
by: Scott W Gifford | last post by:
Hello, We've got a Web-based application written in Perl that is designed to integrate as a frame into many different Web sites. We currently have several stylesheets available to allow the...
1
by: Mr Flibble | last post by:
I want my site to host a Default.aspx and a Default2.aspx page with one page being rendered using Stylesheet1.css and the other using Stylesheet2.css. So far I've just copied Default into Default2...
6
by: _Who | last post by:
I use the code below to change to a style sheet that has: body { ....
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.