Pixarea Blog

Aller au contenu | Aller au menu | Aller à la recherche

dimanche 7 janvier 2007

PHP-generated CSS magic

I would like to share my new experiments concerning CSS, and how it can be used with a server-side scripting language like PHP.

What frustrates me the most when I write stylesheets is the amount of repetitive work that has to be done by manually. Because there is no support for variable or constants in CSS, you are often forced to copy/paste values across your stylesheet, and make lots of calculations "by hand".

A simple example: If you want to change the width of a column, you often have to change the width of others elements in various places of your stylesheet, which can be tedious and prone to errors.

Wouldn't it be better to have these values computed automagically ?

Lire la suite

mercredi 29 novembre 2006

WYMeditor 0.2 stable and Drupal module

This is an English translation of the original post written in French by Jean-François: WYMeditor 0.2 stable et module Drupal

WYMeditor is a web-based XHTML WYSIWYM editor.

WYMeditor 0.2 stable has been released!
This release brings compatibility with Internet Explorer from versions 5.5 to 7.0, and browsers using Gecko (Mozilla Firefox for example).

Lire la suite