473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Who manages your stylesheets?

We've begun to heavily utilize CSS on our Web sites. In doing this I've
noticed how quickly they tend to get bloated and out of hand.

I'm primarily responsible for graphics and page layout, which means I'm
supposedly in charge of the CSS, but our programmers (including my
boss) have no hesitation making additions and subtractions to it. I
don't care who manages the CSS, but it seems like a situation where too
many cooks can really cause havoc.

Comments?

Jul 21 '05 #1
9 1518
harrySara schrieb:
We've begun to heavily utilize CSS on our Web sites.
Good.
In doing this I've noticed how quickly they tend to get
bloated and out of hand.
Clear sign of too many or too incompetent authors.
I'm primarily responsible for graphics and page layout,
The development or the implementation thereof?
which means I'm supposedly in charge of the CSS,
That depends on your answer to the above question.
but our programmers (including my boss) have no
hesitation making additions and subtractions to it.

Comments?


Your company is lacking clear structures. That's sometimes fun, but
generally bad, perhaps even existence-endangering.
Jul 21 '05 #2
Els
harrySara wrote:
We've begun to heavily utilize CSS on our Web sites. In doing this I've
noticed how quickly they tend to get bloated and out of hand.

I'm primarily responsible for graphics and page layout, which means I'm
supposedly in charge of the CSS, but our programmers (including my
boss) have no hesitation making additions and subtractions to it. I
don't care who manages the CSS, but it seems like a situation where too
many cooks can really cause havoc.

Comments?


"*Nobody* touches my CSS!"

;-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: FM - Only The Strong Survive
Jul 21 '05 #3
harrySara wrote:

I'm primarily responsible for graphics and page layout, which means I'm
supposedly in charge of the CSS, but our programmers (including my
boss) have no hesitation making additions and subtractions to it.

Then you are not in charge. To be in charge you must have control which
clearly you do not. Hopefully you are not the one blamed when the code is
messed up by others.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 21 '05 #4


Jim Moe wrote:
harrySara wrote:

I'm primarily responsible for graphics and page layout, which means I'm
supposedly in charge of the CSS, but our programmers (including my
boss) have no hesitation making additions and subtractions to it.

Then you are not in charge. To be in charge you must have control which
clearly you do not. Hopefully you are not the one blamed when the code is
messed up by others.


Actually, I am the one who gets slammed if the code is inconsistent or
conflicting with other styles...

Jul 21 '05 #5


Jim Moe wrote:
harrySara wrote:

I'm primarily responsible for graphics and page layout, which means I'm
supposedly in charge of the CSS, but our programmers (including my
boss) have no hesitation making additions and subtractions to it.

Then you are not in charge. To be in charge you must have control which
clearly you do not. Hopefully you are not the one blamed when the code is
messed up by others.


Actually, I am the one who gets slammed if the code is inconsistent or
conflicting with other styles...

Jul 21 '05 #6
Els
harrySara wrote:
Jim Moe wrote:
harrySara wrote:

I'm primarily responsible for graphics and page layout, which means I'm
supposedly in charge of the CSS, but our programmers (including my
boss) have no hesitation making additions and subtractions to it.

Then you are not in charge. To be in charge you must have control which
clearly you do not. Hopefully you are not the one blamed when the code is
messed up by others.


Actually, I am the one who gets slammed if the code is inconsistent or
conflicting with other styles...


Then I'd insist nobody else touches your files.
Explain to your boss that you can't create a solid construction if
others are allowed to mess with the fundations.
Maybe you can make a separate file for the colours, so that others can
have some amount of influence, without being able to do something
harmful?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Love/Hate - Black Out in The Red Room
Jul 21 '05 #7


Christoph Päper wrote:
harrySara schrieb:
We've begun to heavily utilize CSS on our Web sites.


Good.
In doing this I've noticed how quickly they tend to get
bloated and out of hand.


Clear sign of too many or too incompetent authors.

Heck, all it takes is one person to bloat'n'tangle a stylesheet
I'm primarily responsible for graphics and page layout,


The development or the implementation thereof?

Which means?
which means I'm supposedly in charge of the CSS,


That depends on your answer to the above question.

That does answer the above question.
but our programmers (including my boss) have no
hesitation making additions and subtractions to it.

Comments?


Your company is lacking clear structures. That's sometimes fun, but
generally bad, perhaps even existence-endangering.


Sounds like the "programmers" are playing on the job. I'd love to be
able to hand the styling and layout off to someone else and concentrate
on algorithms. Not that I don't enjoy styling, it's just that if I let
myself start, I wind up wasting a lot of time.

Programmers should work with an unstyled but structured document. You
and the programmer should get together and agree on some id's for input
and output containers, and perhaps a very basic page layout, and then
each of you should go off and do your own thing with no contact unless
the unexpected (which is to be expected) comes up. Programmers should
discipline themselves always to concentrate on logic, logic, logic.
It's too easy to waste time diddling around with how it looks. It's
only natural for them to take pride in a program that not only runs
good but looks good as well, but getting it to look good is your job,
and the two tasks are quite distinct.

This problem is as old as the hills, and the solution is a set of clear
boundaries and discipline. Good fences make good neighbors.

Jul 21 '05 #8


harrySara wrote:
Actually, I am the one who gets slammed if the code is inconsistent or
conflicting with other styles...


Which code? You should have control over the css and html, but if the
fault is in javascript or server side, that ain't your job.

Give the programmers a -simple- html page layout (for sake of
readability) and don't let them mess with the css classes! It's usual
for javascript to reassign classes to elements, but the names and
meanings of the classes, and the ids of the elements are all they
should be concerned with.

You have to get these things done early on in the development process,
and then stick to them unless there's a real need to change things. The
programmer can work with 'dummy' classes which don't have any style
definitions, just so long as they know the -meaning- of the class.

Say for instance, they have to tell the user that their login was
incorrect, they might change the class of a container to alert the
user, but they should not even -want- to decide how that other
className should look.

I've oversimplified, but that's the basic idea.

Jul 21 '05 #9


Els wrote:
Then I'd insist nobody else touches your files.
Explain to your boss that you can't create a solid construction if
others are allowed to mess with the fundations.
Maybe you can make a separate file for the colours, so that others can
have some amount of influence, without being able to do something
harmful?


Yup, and consider that all it takes is one line in a page to change the
tylesheet from this one to that one. If they want to diddle a
stylesheet, let them write their own, then change to the real one
(yours) when the time comes.

I think the hard part comes in when inline styles are used, i.e. a
javascript function that changes some text from one color to the other.
To avoid that, you can have a policy of allowing changes in className,
but not inline. This can make for larger stylesheets, and larger code,
but it's more workable.

Jul 21 '05 #10

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

Similar topics

3
by: jason baumunk | last post by:
I author applications in php which use external stylesheets. When viewed through ie 6, netscape 6, et al. occassionally the stylesheets will not load or be applied. Has anybody encountered this...
13
by: Toby A Inkster | last post by:
www.authoring.stylesheets] For ages I have provided links to alternate stylesheets from my pages as per W3C recommendations: <link rel="stylesheet" href="baz" type="text/css" title="Baz"...
6
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: twice a week (mondays and thursdays) Last-modified: March 10, 2001 Version: 1.95 URL: http://css.nu/faq/ciwas-mFAQ.html Maintainer:...
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
2
by: Mr X | last post by:
I'm a few weeks new to JS, and am having a problem. I have a simple INTERNAL style in a web page and I know that style is working. The problem arises when I try to run a script that changes one of...
5
by: Gardar | last post by:
I have a .net webservice, developed with c++ managed extensions. The websrvice returns an xml-document with a reference to a server side xml-stylesheet in the format <?xml-stylesheet href =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.