Code : Tout sélectionner
body {
font: normal 80% Arial, Helvetica, sans-serif;
}Code : Tout sélectionner
@charset "utf-8";
/* CSS Document */
<HEAD>
<STYLE type="text/css">
<!--
body { font-family:Verdana ; font-size:xx-small ; font-weight:normal ; color:#993399 ; }
H6 { font-family:Verdana ; font-size:x-small ; font-weight:normal ; margin-top:0px ; margin-bottom:0px ;}
-->
</STYLE>
</HEAD>
Code : Tout sélectionner
<head>
<link rel="stylesheet" type="text/css" href="FStyle.css">
</head>
<body>
...
toto
...
</body>
Ta feuille de style n'est pas valide syntaxiquement : il ne doit pas y avoir de code HTML (ça doit sentir le copié-collé depuis une feuille de style interne à une page HTML). Code ta feuille de style comme suit :mon code :
dans ma feuille de style:Code : Tout sélectionner
@charset "utf-8"; /* CSS Document */ <HEAD> <STYLE type="text/css"> <!-- body { font-family:Verdana ; font-size:xx-small ; font-weight:normal ; color:#993399 ; } H6 { font-family:Verdana ; font-size:x-small ; font-weight:normal ; margin-top:0px ; margin-bottom:0px ;} --> </STYLE> </HEAD>
Code : Tout sélectionner
@charset "utf-8";
/* CSS Document */
body { font-family:Verdana ; font-size:xx-small ; font-weight:normal ; color:#993399 ; }
H6 { font-family:Verdana ; font-size:x-small ; font-weight:normal ; margin-top:0px ; margin-bottom:0px ;}Code : Tout sélectionner
font-family: Verdana, sans-serif;Code : Tout sélectionner
mergin-top: 0; margin-bottom: 0;Si, mais le principal inconvénient est que ce sont des unités fixes, ce qui veut dire qu'on ne pourra pas agrandir la taille du texte. Autrement dit, les pt et px sont à réserver aux sorties d'imprimante (média print de CSS) pour la taille de police.Mais on peut utiliser aussi pt et px.
Non???
Code : Tout sélectionner
@charset "utf-8";
/* CSS Document */
body { font-family:Verdana, sans-serif; font-size:1em ; font-weight:normal ; }
H6 { font-family:Verdana, sans-serif; font-size:x-small ; font-weight:normal ; margin-top:0 ; margin-bottom:0 ;}
H5 { font-family:Verdana, sans-serif; font-size:small; font-weight:normal ; color:#FF9900 ; margin-top:0 ; margin-bottom:0 ; }
H4 { font-family:Verdana, sans-serif; font-size : medium; font-weight : normal ; color : #FF9900 ; }