Skip to content

24 ways to impress your friends

Vote up?

Rachel Andrew

@ Jorge – I think it’s a fairly rare thing that you might want to expose some of the CSS to the site admin, but I’ve had just this situation recently at work. The method we went with was generating static stylesheets (using PHP) for each color theme (the admin could set 3 main colors, background image and repeat) and it works well. It’s a very specific usage though. However, what about creating a photo gallery site where photographers can customize their album page by changing the background and color theme? Sites like Yahoo Groups enable the group owner to customize the color scheme to an extent to individualize their community so I think there are places where generating CSS is useful and appropriate. I don’t think it’s something you’d want to sling into every CMS though!