My contribution to the Notes & Domino community

I do not know how many times I have written a class for aligning a text right or left. Too many, that’s for sure.

The idea with a CSS toolbox is to include a separate stylesheet for these “utility” styles. A CSS toolbox contains styling information that is nothing unique to any particular web application. It’s a collection of common styles that can be useful on any web development project.

A CSS toolbox is not a CSS reset and it is not a CSS framework. And it contains none of the special styling that makes any web application so unique.

Using a CSS toolbox will save you some time. It saves you from writing the same styles over and over again. If you use the same toolbox your markup will share the same common class names and makes it easier for you to jump back into and understand it.

Related

One thought on “My CSS Toolbox”

I don’t use CSS much because, in my opinion, it’s a mess. It’s like assembly language for styling … that is it’s only suitable for being generated by other programs that can add the a human interface to the equivalent of browser needlepoint.

For example the first thing that occurred to me when I started trying to use it is how do I assign a color to my one user generated symbol so that, when the customer asks me to change a color, I can change it in one place and it’s updated everywhere?

This is such a fundamental principal of programming that I just can’t figure out who designed CSS and what their background was. It can’t have been anything to do with programming.

So pretty much I don’t use CSS unless the project is big enough that I write a CSS generator that lets me regenerate it with configured parameters as needed.