À méditer : l'ouvrier et ses outils [en]

Je me permets de citer Emmanuel, dans un message à  la liste pompeurs-css :

Je suis photographe. Il y a quelques années on a donné des appareilsphoto jetables (techno très pauvre) à  des photographes professionnels dehaut niveau travaillant au Leica (La rolls des appareils photos).Ils ont tous sortis des images magnifiques qui ont tourné dans toutesles galeries.

Aucun n’a pesté contre la limitation techno du jetable. Ils en onttous tiré parti au contraire.

Après c’est une histoire de démarche.

Ce n’est pas CSS3 ou CSS28 qui feront de moi un meilleur graphiste,c’est ma capacité à  tirer parti de CSS.

Et ceci est valable dans tout les domaines créatifs.

Amen.

Pense-bête [en]

Neuf fois sur dix, lorsqu’on m’appelle à  l’aide pour des problèmes de mise en page CSS, la source du problème est une mauvaise compréhension du modèle de boîte. Comme à  chaque fois qu’on me pose la question je m’embrouille, je me colle ici un petit pense-bête :

Illustration du modèle de boîte.

A retenir : width c’est la largeur utile de la boîte. Logique, non ?

Et n’oubliez pas : la référence pour contourner ce problème, c’est le box model hack. On l’aime ou on ne l’aime pas, mais on n’y échappe pas !

J’écrivais mieux « avant », hein…

Développement web: Openweb ouvre ses portes [en]

Direction Openweb, tout le monde. Un site riche qui sera bientôt la référence francophone incontournable pour développeurs web. Lisez le communiqué de presse et plongez-vous dans les articles disposition !

Chapeau à  toute l’équipe. Je suis épatée et ravie.

Validation and Errors [en]

Although neither do validate, we should not judge a valid page with errors as harshly as a page of tag soup.

For some time now, I have been meaning to clarify the distinction I make between markup which is valid with errors and that which is outright invalid. Yes, I know, in both cases it does not validate.

Take a page which would normally validate as xhtml strict, and insert some are errors into it, like an unclosed tag, an unescaped ampersand and maybe even (oh horror!) a couple of target="_blank" attributes. It does not validate.

Take tag soup. It does not validate either.

But there is a difference between the two, you’ll have to admit. Which is why I suggest calling one of them valid with errors and the other one outright invalid (or just plain invalid). This would also encourage us standards evangelists to be a bit more appreciative of the efforts of those who have gone through the trouble of cleaning up their markup and bringing it nearer to validation, compared to those who just don’t give a damn. As seen on various mailing lists and forums, they are often both greeted quite bluntly with the same “your page doesn’t validate!”

For me, the difference is the same as the one between a well structured text with correct grammar but a few spelling mistakes (it can happen to anybody, even to English teachers!) and a clumsy story with no plot or ending, filled with spelling mistakes, and approximate grammar which makes certain sentences unintelligible.

That might also help us respond to “anti-standards” people who go around sticking our pages in the validator and then say “Hah! it doesn’t validate, look, 50 errors, they’re as bad as we are!”

I’ll say it again: validation (with zero errors) is important. Your PHP or XML parser doesn’t care if there is one or 100 mistakes in your page: it can’t parse it. But we are human beings, and should give credit where credit is due. A “valid page with errors” is not as big a crime as tag soup.

Redesign [en]

Serait-ce contagieux ? Trying to Find Myself change de look, avec en prime balisage allégé et conformité W3C.

Et en plus, c’est joli. Si il continue comme ça, ce garçon va finir par ramasser un blog d’or.

Nettoyage de printemps [en]

Kitof fait le ménage dans son code. C’est un excellent début ! (Voire même plus qu’un début…)

Notons en passant que l’article « CSS pratique » existe en français.