salut
si je fais :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 body { font-family : Comic Sans MS; font-size: 90%; }j'ai la police Comic Sans MS mais impossible de changer la taille
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 body { font-family : Comic Sans MS; font-size: 10px; }
si je fais
j'ai la taille à 90% mais je n'ai plus la police !! (Comic Sans MS)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 body { font-size: 90%; font-family : Comic Sans MS; }
je voudrais du Comic Sans MS en taille 90%, ou 10px ou en autre chose pourvu qu'il soit plus petit que la taille par défaut...
je vous joins ma feuille de style complete:
ce qui est le plus surprenant, ç'est que pour les listes, les liens
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92 // FOND DE LA PAGE --> body { font-size:10px; font-family : Comic Sans MS; background-color:#679F5A; } // scrollbar --> { scrollbar-face-color : #679F5A; scrollbar-shadow-color : #96C56F; scrollbar-highlight-color : #96C56F; scrollbar-3dlight-color : #96C56F; scrollbar-darkshadow-color : #96C56F; scrollbar-track-color : #006600; scrollbar-arrow-color : #000000; } // TITRES --> h1 { font-family:Comic Sans MS; font-size:100%; color:#006600; background-color:transparent; } h2 { font-family:Comic Sans MS; font-size:80%; color:#006600; background-color:transparent; } h3 { font-family:Comic Sans MS; font-size:90%; color:#006600; background-color:transparent; } // LISTE --> li { font-size:90%; color:#96C56F; background-color:transparent; text-align:left; margin-left:0px; margin-right:0px; } li span { color:black; } // LIENS --> a:link { font-family:Comic Sans MS; font-size:90%; color:#006600; font-weight:bold; background-color:transparent; text-decoration:none; } a:visited { font-family:Comic Sans MS; font-size:90%; color:#006600; font-weight:bold; background-color:transparent; text-decoration:none; } a:hover { font-family:Comic Sans MS; font-size:90%; color:#000000; font-weight:bold; background-color:transparent; text-decoration:none; }
j'arrive à avoir :
font-size: 90%;
font-family : Comic Sans MS;
et çà fonctionne
alors pourquoi dans le body çà ne passe pas
pour moi il y a un souci dans le code
merci pour votre aide
Partager