Le 29 oct 2006 à 12h06
Christophe Gaubert a écrit :

> Euh, Denis, c'est pas parce qu'on maîtrise LaTeX qu'il faut négliger
> CSS, hein ?

Je ne néglige pas : simplement, je ne maîtrise pas (j'ai quand même
souvent parcouru http://www.w3schools.com/css/default.asp)...

> C'est quoi cette horreur :
> http://ch4tn01r.free.fr/tmp/latex-pearson.png
> :-p

Jean-Côme m'avait effectivement signalé la chose sur un vieux mozilla
poussiéreux et je l'ai constatée aussi avec un FF 2.0 pas fini. J'ai eu
beau chercher ce qui pouvait ne pas aller dans mon .css, je n'ai pas
trouvé... Tu peux m'aider ? Extrait (je n'ai fait qu'adapter un truc
que j'ai trouvé je ne sais plus où) où j'ai volontairement laissé
toutes les scories, histoire de voir si ce ne sont pas elles qui posent
problème :

#Header {
        font-size:35px;
        color:#00cc00; /* Vert semblable  celui de la couverture */
        font-weight:800;
        text-align: center;
        margin:0px 0px 20px 0px;
        padding:30px 0px 30px 0px;
/*      padding:20px 20px 20px 20px;*/
/* For IE5/Win's benefit height = [correct height] + [top padding]
+[top and bottom border widths] */
        height:163px; /* 14px + 17px + 2px =
33px */ /*      border-style:solid;
        border-color:black;
        border-width:0px 0px; */
/* top and bottom borders: 1px; left and right borders: 0px */
        line-height:0px;
        background-color:#eee;
/*      background-color:white; */

/* Here is the ugly brilliant hack that protects IE5/Win enom its own
stupidity.  Thanks to Tantek Celik for the hack and to Eric Costello
for publicizing it.  IE5/Win incorrectly parses the "\"}"" value,
prematurely closing the style  declaration. The incorrect IE5/Win value
is above, while the correct value is  below. See
http://glish.com/css/hacks.asp for details. */  voice-family: "\"}\"";
        voice-family:inherit;
        height:14px; /* the correct height */
        }
/* I've heard this called the "be nice to Opera 5" rule. Basically, it
feeds correct  length values to user agents that exhibit the parsing
error exploited above yet get  the CSS box model right and understand
the CSS2 parent-child selector. ALWAYS include a "be nice to Opera 5"
rule every time you use the Tantek Celik hack (above). */
body>#Header {height:14px;}

Je peux éventuellement t'envoyer le .css complet, si tu as le courage
d'en signaler tous les défauts.

Merci !
-- 
Denis
=========================================
Vous souhaitez acquerir votre pack ou des services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club Mandriva : http://club.mandriva.com
=========================================

Répondre à