IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Mise en page CSS Discussion :

pourquoi le programme html &css change selon le navigateur


Sujet :

CSS

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé Avatar de razily
    Inscrit en
    Février 2009
    Messages
    376
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 376
    Par défaut pourquoi le programme html &css change selon le navigateur
    Bonjour à tous ;
    je débute en html et css ; et en ce moment je crée une application php ; mais voilà je suis confronté à un problème que j'ai dû mal à résoudre durant qlq semaines et que çà commence à me casser la tête :
    voici le code :
    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
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
     
    <html>
        <head>
              <link rel="stylesheet" media="screen"type="text/css"
                      title="styleAuto" href="auto.css"/>
        </head>
     
    </html>
     
    <body>
     
     
     
    <html>
     
    <head>
     
            <title>Fonction recherche</title>
           <!--  <link rel="stylesheet" media="screen"type="text/css"
                      title="styleAuto" href="recherch.css"/>  -->
     
          <!--    <link rel="stylesheet" media="screen"type="text/css"
                      title="styleAuto" href="auto.css"/> -->
     
        </head>
        <body>
     
     
     
     
     
     
     
     
     
     
     
     
     
             </body>
             </html>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    </body>
    </html>
     
    <fieldset class="general"><legend>G&eacute;n&eacute;ral </legend>
    <label>Client:</label> 
    <label class="gen"> Ronaldo <br /> 
    </label> <label>Cabinet:</label> 
    <label class="gen">Michel </label><br /> 
    <label> Dossier Complet:</label>
    <input type="checkbox" name="complet" checked="true" />
     <br /> <label>Type de paiement :</label>
     <label class="gen">Pr&eacute;l&egrave;vement automatique </label> <br />
     <label>Num&eacute;ro client :</label> 
     <label class="num">2007 </label></fieldset> <body>
     <fieldset class="police">  <legend>Police :</legend> 
     <table class="tablepolice"> <tbody> 
     <tr><td>Police :</td> <td class="pol">Automobile</td> 
     <td>Contrat soumis R&eacute;vision :</td> <td colspan="5"> 
     <input type="checkbox" name="complet"  /> </td> </tr>
     <tr> <td> <label> Contrat :</label></td>
     <td class="valeur">PPE</td> <td>Compagnie:</td><td colspan="3"class="valeur">RISQUES PARTICULIERS</td> 
     <td>Paiement :</td><td class="valeur">Mensuel</td> </tr>
     <tr>   <td>Date cr&eacute;ation :</td>  
     <td class="valeur">29/01/2007  </td>  
     <td>Date perte :</td> <td class="valeur"> </td>
     <td>Avenants :</td> <td class="valeur"> </td> 
     <td>Prime TTC :</td>  <td class="valeur">0 </td>  </tr> 
     <tr> <td>Num&eacute;ro :</td> <td class="pol">4156879</td>
     <td>Date effet:</td><td class="valeur">29/01/2007</td><td>Indice:</td>
     <td class="valeur">0.0</td><td>Gestion:</td><td class="valeur"> Non Confi&eacute;e</td>
     </tr> <tr> <td>Etat :</td><td class="valeur">En cours</td>  <td>Date &eacute;cheance :</td>
     <td class="valeur">01/02/2008</td> <td>Relance :</td> <td>
     </td><td>Apporteur:</td> <td class="valeur"> Aucun  </td> </tr> 
     <tr> <td>Cont:</td><td class="valeur">Aucun</td> <td>R&eacute;s./susp</td> 
     <td class="pol"> </td> <td>Historique:</td> <td class="valeur"></td> 
     <td>Commercial:</td>  <td> </td>  </tr> </tbody> </table> </fieldset><fieldset class="conducteur">
     <legend>Conducteur</legend> <label for="bonusAncien"> Conducteur habituel:</label> 
     <label class="gen">Ronaldo</label><br /> <label for="bonusAncien">N&eacute; le :</label>  
     <label class="gen">09/06/1969  </label> <br /><label for="bonusAncien">  Num&eacute;ro permis:</label> 
     <label class="num">020977439    </label><br /> 
     <label for="bonusAncien"> Permis:</label>  <label class="gen">B<br /> 
     </label><label for="bonusAncien">Date Permis:</label> 
     <label class="gen">25/09/2006  </label> </fieldset> <fieldset class="vehicule"> 
     <legend>V&eacute;hicule</legend> <div class="tetevehicule">
     <label for="categorie">Cat&eacute;gorie:</label><label class="gen">
     <strong>V.Particulier </strong>
     </label> <br/> <label for="marque">Marque:</label> 
     <label class="gen">VOLKSWAGEN </label><br /> <label for="bonusAncien">Bonus Malus Ancien :</label> 
     <label class="gen"> </label>
     <br /> <label for="bonusAncien">Bonus Malus  :</label> 
     <label class="gen">1,00 </label><br /> 
     <label for="bonusAncien"> Condition generales :</label> 
     <label class="gen"> </label><br /> <label for="bonusAncien"> Date Condition generales :</label> 
     <label class="gen"> </label> <br/> <label for="bonusAncien">  Mise en circulation  :</label>
     <label class="gen">04/09/1986  </label></div><div class="milieuvehicule">
     <br /> <label for="bonusAncien">  Type de v&eacute;hicule :</label> 
     <label class="gen">GOLF C<br /> </label> <label for="bonusAncien">  Cylindree :</label> <label class="gen">06</label><br />
     <label for="bonusAncien">  Immatriculation:</label> <label id="immat">723 WL 93</label><br /> 
     <label for="bonusAncien">Mod&egrave;le:</label><label class="gen">19MH12 </label><br /> <label for="bonusAncien">Num&eacute;ro de s&eacute;rie:</label> 
     <label class="gen">WVWZZZ19Z6513<br />  </label> 
     <label for="bonusAncien"> Poids TTC :</label> <label class="gen">1T360 </label><br/>
     <label for="bonusAncien"> Nombres de places :</label><label class="gen">5</label>  </div> 
     <div class="remorque"><fieldset><legend><i>Remorque</i></legend><label>Marque:</label>
     <label class="gen"></label><br /><label>Immatriculation:</label> <label class="gen"> </label><br />
     <label>Valeur:</label>  <label class="gen">.0000 </label><br /> <label>Ann&eacute;e:</label> <label class="gen"> </label>  
     <br /> <label>PTC:</label> <label class="gen">0 </label> <br /> </fieldset> </div></fieldset> <fieldset class="utilisation"> 
     <legend>Utilisation </legend> <label for="bonusAncien">Usage Compagnie :</label> <label class="util">DPP  </label><br />
     <label for="bonusAncien">Conduite exclusive :</label><input type="checkbox" name="complet"    /> 
     <label id="zone"> Zone :</label> <label class="gen"> </label><br /> 
     <label id="autreconducteur"> Autre Conducteur :</label>  <label class="util"></label><br /> 
     <label for="bonusAncien"> Date naissance :</label><label class="util"> </label><br /> 
     <label for="bonusAncien"> Permis :</label><label class="util"> </label><br /> 
     <label for="bonusAncien"> numero permis :</label> <label class="numpermis"> 
     </label><br /><label for="bonusAncien"> Date permis :</label><label class="util"> 
     </label> <br /> </fieldset> <fieldset class="garanties"><legend>Garanties:</legend> 
     <div id="partie1"> <label for="bonusAncien"> RCPJ :</label><input type="checkbox" name="complet"  checked />
     <br />  <label for="bonusAncien">Bdg :</label><input type="checkbox" name="complet"   /><br /> 
     <label for="bonusAncien">Vol :</label><input type="checkbox" name="complet"  /><br /> 
     <label for="bonusAncien">Incendie :</label><input type="checkbox" name="complet" /><br /> 
     <label for="bonusAncien">Tempetes :</label><input type="checkbox" name="complet"   /><br />  
     <label for="bonusAncien">Cat.nat :</label><input type="checkbox" name="complet"  checked /><br />
     <label for="bonusAncien">DTA :</label><input type="checkbox" name="complet"   /><br /> <label for="bonusAncien"> Access :</label>
     <input type="checkbox" name="complet"    /><br /> <label for="bonusAncien">  Effets :</label><input type="checkbox" name="complet"  /><br /> 
     <label for="bonusAncien">   Conducteur :</label><input type="checkbox" name="complet"  checked/><br /> <label for="bonusAncien">V&eacute;h remp:</label>
     <input type="checkbox" name="complet"  /><br />   <label for="bonusAncien">Ind leasing:</label><input type="checkbox" name="complet"    /><br />
     <label for="bonusAncien">Dom.Collision:</label><input type="checkbox" name="complet"   /> </div>  <div id="partie2"> <fieldset class="montant">
     <legend><i>Franchise et Montants</i></legend><label for="bonusAncien">Franchise Vol:</label>0  <br /><label for="bonusAncien">Franchise incendie:</label>0 <br />
     <label for="bonusAncien">Franchise dommage:</label>0 <br />
     <label for="bonusAncien">Franchise tempetes:</label>0 <br /> 
     <label for="bonusAncien">Franchise effets:</label>0 <br />
     <label for="bonusAncien">Franchise conducteur:</label>0 <br />
     <label for="bonusAncien">Franchise accessoires:</label>0 <br /> 
     <label for="bonusAncien">Franchise conducteur exclusif:</label><br /> 
     <label for="bonusAncien">Franchise Catastrophe nat:</label>.0000 <br />
     <label for="bonusAncien">Franchise Dom.Collision:</label>0 <br />
     <label for="bonusAncien">Conducteur novice:</label><input type="checkbox" name="complet"  checked />
     <br /><label for="bonusAncien">Franchise Conducteur novice:</label><label class="gen">750.00  </label> <br /> 
     <label for="bonusAncien">Montant effets:</label>0 <br /></fieldset></div><fieldset class="infos"> 
     <legend><i>Autres Infos</i></legend><label for="bonusAncien">Date controle technique:</label><br />
     <label for="bonusAncien">  Optique comprise:</label><input type="checkbox" name="complet"   /> 
     <br /></fieldset> <fieldset class="protection"><legend><i>Protections</i></legend>
     <label>Gravage</label><input type="checkbox" name="complet"   /><br /><label>Alarme Agr&eacute;&eacute;</label><input type="checkbox" name="complet"    />
     <br /> <label>Type de garage:</label> <label class="gen">Voie publique</label><br /> </fieldset></fieldset><br />
    la partie css :
    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
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
     
    *
    {
        background-color: white;
    }
     
    fieldset
    {
       /* background-color: silver; */
     
        background-color: white; 
    }
    legend
    {
     
        font-weight: bold;
        font-size: large;
     
     
        font-style: italic;
    }
    /* fieldset general */
    .general
    {
     
        display: block;
         width: 38%;
     
        height: 4.5cm;
     
     
     
     
    }
    /*les labels valeurs ds generation*/
    .gen
    {
     
        color: blue;
        text-align: center;
        font-size: large;
     
     
    }
    .num
    {
     
        color: red;
     
        font-size: large;
     
     
     
    }
     
     
     
    label,td
    {
     
     
        font-family: Verdana,Arial,Helvetica,sans-serif;
        font-size: medium;
        font-weight: bolder;
     
     
     
    }
     
    /* fieldset police */
     
    .police
    {
     
     
     
        border-top-width: 10px;
        border-top-color: red;
        border-bottom-width: 10px;
        border-bottom-color: red;
    }
     
    .pol
    {
     
        color: red;
       text-align: center;
    }
     
    .tablepolice
    {
     
     
       border-right-style: solid;
        border-left-style: solid;
        border-bottom-style: solid;
        border-top-style: solid;
        border-right-width: 1px;
        border-left-width: 1px;
        border-bottom-width: 1px;
        border-top-width: 1px;
     
         height: 5cm;
        width: 100%;
    }
     
    .tablepolice td
    {
     
     
        border-right-style: solid;
     
        border-left-style: solid;
        border-bottom-style: solid;
        border-top-style: solid;
        border-right-width: 1px;
        border-left-width: 1px;
        border-bottom-width: 1px;
        border-top-width: 1px;
        border-collapse: collapse;
     
     
    }
     
    .valeur
    {
        color: blue;
     
        text-align: center;
    }
     
    /* on passe au conducteur */
    .conducteur
    {
        display: block;
          width: 30%;
     
        position: absolute;
        left: 40%;
     
        top: 1%;
     
        height: 4.5cm;
    }
     
    /*on passe au fieldset utilisation*/
    .utilisation
    {
     
        width: 25.5%;
     
        position: absolute;
        height: 4.5cm;
        top: 1%;
        left: 72%;
    }
     
    /* pour la zone */
    #zone
    {
     
        margin-left: 0.5cm;
     
     
    }
     
    .numpermis
    {
     
        color: red;
    }
    .util
    {
        font-size: large;
     
        color: blue;
    }
     
    /* pour autre conducteur */
    #autreconducteur
    {
     
        font-style: italic;
        text-decoration: underline;
    }
    /* vehicule */
     
     
    #immat
    {
     
        color: red;
    }
     
     
     
    .milieuvehicule
    {
        display: block;
     
        position: absolute;
        left: 500px;
     
     
        top: 445px;
     
     
     
     
     
     
        height: 5cm;
    }
     
    .remorque
    {
        display: block;
         width: 30%;
     
     
     
        position: absolute;
        left: 69.5%;
     
        top: 451px;
    }
     
     
    #partie2
    {
     
        display:block ;
        position: absolute;
     
     
     
        top: 655px;
        left: 500px;
    }
     
    /* garantie fieldset*/
    .garanties
    {
     
     
       display: block;
     
     
    }
     
    /*protection */
    .protection
    {
     
        display: block;
        width: 27.5%;
        position: absolute;
     
        left: 70%;
     
     
     
        top: 660px;
    }
     
    .infos
    {
     
        display: block;
        width: 27.5%;
     
        position: absolute;
     
        left: 70%;
        top: 800px;
    }
     
    /*franchise et montant */
     
    .montant
    {
     
     
      display: block;
         height: 6.5cm;
        left: 50%;
     
     
        top: 90%;
     
     
    }
     
    /* fieldset residence - veranda -protection */
    .residence
    {
     
     
     
        width: 10%;
    }
    si vous tester ces codes ; vous allez être confronté à un problème délicat et j'en suis sûr que c'est la partie css qui est la cause vu que je ne maitrise pas trop :
    le premier problème ; les fieldset qui seront placés selon le code css
    dès fois s'affiche pas dans la bonne position je veux dire au lieu d'être aligné ; s'écarte et encore pire dès fois l'affichage diffère selon le navigateur (IE ou firefox ) ; je ne sais pas trop ce qui m'a surpris c'est que j'ai testé le même code sur firefox sur mon portable ; et quand je voulais tester et installer sur un autre avec firefox çà se comporte différemment et même la police n'est plus la même
    pire sur IE rien ne va plus ; les fieldset qui se met n'importe où ; avec des caractères très grand ; il faut toujours réduire le zoom

    si quel'qu'un aura une solution à tout ces prblèmes ; je serai ravi

    merci d'avance

  2. #2
    Membre émérite Avatar de pop_up
    Profil pro
    Inscrit en
    Avril 2006
    Messages
    877
    Détails du profil
    Informations personnelles :
    Localisation : France, Rhône (Rhône Alpes)

    Informations forums :
    Inscription : Avril 2006
    Messages : 877
    Par défaut
    bonjour,

    Tu annonces plusieurs problèmes, mais il est difficile de t'aider sans savoir exactement ce qui doit être positionné à quel endroit. (et en même temps, ça serait un peu long d'expliquer ou doivent être chaque fieldset)

    On va commencer par le commencement :
    As tu un doctype à tes pages ?

    J'ai essayé le code suivant et les polices ont l'air similaire (en tout cas au niveau taille) :
    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
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html>
    	<head>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<style>
    				*
    {
        background-color: white;
    }
     
    fieldset
    {
       /* background-color: silver; */
     
        background-color: white; 
    }
    legend
    {
     
        font-weight: bold;
        font-size: large;
     
     
        font-style: italic;
    }
    /* fieldset general */
    .general
    {
     
        display: block;
         width: 38%;
     
        height: 4.5cm;
     
     
     
     
    }
    /*les labels valeurs ds generation*/
    .gen
    {
     
        color: blue;
        text-align: center;
        font-size: large;
     
     
    }
    .num
    {
     
        color: red;
     
        font-size: large;
     
     
     
    }
     
     
     
    label,td
    {
     
     
        font-family: Verdana,Arial,Helvetica,sans-serif;
        font-size: medium;
        font-weight: bolder;
     
     
     
    }
     
    /* fieldset police */
     
    .police
    {
     
     
     
        border-top-width: 10px;
        border-top-color: red;
        border-bottom-width: 10px;
        border-bottom-color: red;
    }
     
    .pol
    {
     
        color: red;
       text-align: center;
    }
     
    .tablepolice
    {
     
     
       border-right-style: solid;
        border-left-style: solid;
        border-bottom-style: solid;
        border-top-style: solid;
        border-right-width: 1px;
        border-left-width: 1px;
        border-bottom-width: 1px;
        border-top-width: 1px;
     
         height: 5cm;
        width: 100%;
    }
     
    .tablepolice td
    {
     
     
        border-right-style: solid;
     
        border-left-style: solid;
        border-bottom-style: solid;
        border-top-style: solid;
        border-right-width: 1px;
        border-left-width: 1px;
        border-bottom-width: 1px;
        border-top-width: 1px;
        border-collapse: collapse;
     
     
    }
     
    .valeur
    {
        color: blue;
     
        text-align: center;
    }
     
    /* on passe au conducteur */
    .conducteur
    {
        display: block;
          width: 30%;
     
        position: absolute;
        left: 40%;
     
        top: 1%;
     
        height: 4.5cm;
    }
     
    /*on passe au fieldset utilisation*/
    .utilisation
    {
     
        width: 25.5%;
     
        position: absolute;
        height: 4.5cm;
        top: 1%;
        left: 72%;
    }
     
    /* pour la zone */
    #zone
    {
     
        margin-left: 0.5cm;
     
     
    }
     
    .numpermis
    {
     
        color: red;
    }
    .util
    {
        font-size: large;
     
        color: blue;
    }
     
    /* pour autre conducteur */
    #autreconducteur
    {
     
        font-style: italic;
        text-decoration: underline;
    }
    /* vehicule */
     
     
    #immat
    {
     
        color: red;
    }
     
     
     
    .milieuvehicule
    {
        display: block;
     
        position: absolute;
        left: 500px;
     
     
        top: 445px;
     
     
     
     
     
     
        height: 5cm;
    }
     
    .remorque
    {
        display: block;
         width: 30%;
     
     
     
        position: absolute;
        left: 69.5%;
     
        top: 451px;
    }
     
     
    #partie2
    {
     
        display:block ;
        position: absolute;
     
     
     
        top: 655px;
        left: 500px;
    }
     
    /* garantie fieldset*/
    .garanties
    {
     
     
       display: block;
     
     
    }
     
    /*protection */
    .protection
    {
     
        display: block;
        width: 27.5%;
        position: absolute;
     
        left: 70%;
     
     
     
        top: 660px;
    }
     
    .infos
    {
     
        display: block;
        width: 27.5%;
     
        position: absolute;
     
        left: 70%;
        top: 800px;
    }
     
    /*franchise et montant */
     
    .montant
    {
     
     
      display: block;
         height: 6.5cm;
        left: 50%;
     
     
        top: 90%;
     
     
    }
     
    /* fieldset residence - veranda -protection */
    .residence
    {
     
     
     
        width: 10%;
    }
    			</style>
     
     
    	</head>
    	<body>
     
    <fieldset class="general"><legend>G&eacute;n&eacute;ral </legend>
    <label>Client:</label> 
    <label class="gen"> Ronaldo <br /> 
    </label> <label>Cabinet:</label> 
    <label class="gen">Michel </label><br /> 
    <label> Dossier Complet:</label>
    <input type="checkbox" name="complet" checked="true" />
     <br /> <label>Type de paiement :</label>
     <label class="gen">Pr&eacute;l&egrave;vement automatique </label> <br />
     <label>Num&eacute;ro client :</label> 
     <label class="num">2007 </label></fieldset> <body>
     <fieldset class="police">  <legend>Police :</legend> 
     <table class="tablepolice"> <tbody> 
     <tr><td>Police :</td> <td class="pol">Automobile</td> 
     <td>Contrat soumis R&eacute;vision :</td> <td colspan="5"> 
     <input type="checkbox" name="complet"  /> </td> </tr>
     <tr> <td> <label> Contrat :</label></td>
     <td class="valeur">PPE</td> <td>Compagnie:</td><td colspan="3"class="valeur">RISQUES PARTICULIERS</td> 
     <td>Paiement :</td><td class="valeur">Mensuel</td> </tr>
     <tr>   <td>Date cr&eacute;ation :</td>  
     <td class="valeur">29/01/2007  </td>  
     <td>Date perte :</td> <td class="valeur"> </td>
     <td>Avenants :</td> <td class="valeur"> </td> 
     <td>Prime TTC :</td>  <td class="valeur">0 </td>  </tr> 
     <tr> <td>Num&eacute;ro :</td> <td class="pol">4156879</td>
     <td>Date effet:</td><td class="valeur">29/01/2007</td><td>Indice:</td>
     <td class="valeur">0.0</td><td>Gestion:</td><td class="valeur"> Non Confi&eacute;e</td>
     </tr> <tr> <td>Etat :</td><td class="valeur">En cours</td>  <td>Date &eacute;cheance :</td>
     <td class="valeur">01/02/2008</td> <td>Relance :</td> <td>
     </td><td>Apporteur:</td> <td class="valeur"> Aucun  </td> </tr> 
     <tr> <td>Cont:</td><td class="valeur">Aucun</td> <td>R&eacute;s./susp</td> 
     <td class="pol"> </td> <td>Historique:</td> <td class="valeur"></td> 
     <td>Commercial:</td>  <td> </td>  </tr> </tbody> </table> </fieldset><fieldset class="conducteur">
     <legend>Conducteur</legend> <label for="bonusAncien"> Conducteur habituel:</label> 
     <label class="gen">Ronaldo</label><br /> <label for="bonusAncien">N&eacute; le :</label>  
     <label class="gen">09/06/1969  </label> <br /><label for="bonusAncien">  Num&eacute;ro permis:</label> 
     <label class="num">020977439    </label><br /> 
     <label for="bonusAncien"> Permis:</label>  <label class="gen">B<br /> 
     </label><label for="bonusAncien">Date Permis:</label> 
     <label class="gen">25/09/2006  </label> </fieldset> <fieldset class="vehicule"> 
     <legend>V&eacute;hicule</legend> <div class="tetevehicule">
     <label for="categorie">Cat&eacute;gorie:</label><label class="gen">
     <strong>V.Particulier </strong>
     </label> <br/> <label for="marque">Marque:</label> 
     <label class="gen">VOLKSWAGEN </label><br /> <label for="bonusAncien">Bonus Malus Ancien :</label> 
     <label class="gen"> </label>
     <br /> <label for="bonusAncien">Bonus Malus  :</label> 
     <label class="gen">1,00 </label><br /> 
     <label for="bonusAncien"> Condition generales :</label> 
     <label class="gen"> </label><br /> <label for="bonusAncien"> Date Condition generales :</label> 
     <label class="gen"> </label> <br/> <label for="bonusAncien">  Mise en circulation  :</label>
     <label class="gen">04/09/1986  </label></div><div class="milieuvehicule">
     <br /> <label for="bonusAncien">  Type de v&eacute;hicule :</label> 
     <label class="gen">GOLF C<br /> </label> <label for="bonusAncien">  Cylindree :</label> <label class="gen">06</label><br />
     <label for="bonusAncien">  Immatriculation:</label> <label id="immat">723 WL 93</label><br /> 
     <label for="bonusAncien">Mod&egrave;le:</label><label class="gen">19MH12 </label><br /> <label for="bonusAncien">Num&eacute;ro de s&eacute;rie:</label> 
     <label class="gen">WVWZZZ19Z6513<br />  </label> 
     <label for="bonusAncien"> Poids TTC :</label> <label class="gen">1T360 </label><br/>
     <label for="bonusAncien"> Nombres de places :</label><label class="gen">5</label>  </div> 
     <div class="remorque"><fieldset><legend><i>Remorque</i></legend><label>Marque:</label>
     <label class="gen"></label><br /><label>Immatriculation:</label> <label class="gen"> </label><br />
     <label>Valeur:</label>  <label class="gen">.0000 </label><br /> <label>Ann&eacute;e:</label> <label class="gen"> </label>  
     <br /> <label>PTC:</label> <label class="gen">0 </label> <br /> </fieldset> </div></fieldset> <fieldset class="utilisation"> 
     <legend>Utilisation </legend> <label for="bonusAncien">Usage Compagnie :</label> <label class="util">DPP  </label><br />
     <label for="bonusAncien">Conduite exclusive :</label><input type="checkbox" name="complet"    /> 
     <label id="zone"> Zone :</label> <label class="gen"> </label><br /> 
     <label id="autreconducteur"> Autre Conducteur :</label>  <label class="util"></label><br /> 
     <label for="bonusAncien"> Date naissance :</label><label class="util"> </label><br /> 
     <label for="bonusAncien"> Permis :</label><label class="util"> </label><br /> 
     <label for="bonusAncien"> numero permis :</label> <label class="numpermis"> 
     </label><br /><label for="bonusAncien"> Date permis :</label><label class="util"> 
     </label> <br /> </fieldset> <fieldset class="garanties"><legend>Garanties:</legend> 
     <div id="partie1"> <label for="bonusAncien"> RCPJ :</label><input type="checkbox" name="complet"  checked />
     <br />  <label for="bonusAncien">Bdg :</label><input type="checkbox" name="complet"   /><br /> 
     <label for="bonusAncien">Vol :</label><input type="checkbox" name="complet"  /><br /> 
     <label for="bonusAncien">Incendie :</label><input type="checkbox" name="complet" /><br /> 
     <label for="bonusAncien">Tempetes :</label><input type="checkbox" name="complet"   /><br />  
     <label for="bonusAncien">Cat.nat :</label><input type="checkbox" name="complet"  checked /><br />
     <label for="bonusAncien">DTA :</label><input type="checkbox" name="complet"   /><br /> <label for="bonusAncien"> Access :</label>
     <input type="checkbox" name="complet"    /><br /> <label for="bonusAncien">  Effets :</label><input type="checkbox" name="complet"  /><br /> 
     <label for="bonusAncien">   Conducteur :</label><input type="checkbox" name="complet"  checked/><br /> <label for="bonusAncien">V&eacute;h remp:</label>
     <input type="checkbox" name="complet"  /><br />   <label for="bonusAncien">Ind leasing:</label><input type="checkbox" name="complet"    /><br />
     <label for="bonusAncien">Dom.Collision:</label><input type="checkbox" name="complet"   /> </div>  <div id="partie2"> <fieldset class="montant">
     <legend><i>Franchise et Montants</i></legend><label for="bonusAncien">Franchise Vol:</label>0  <br /><label for="bonusAncien">Franchise incendie:</label>0 <br />
     <label for="bonusAncien">Franchise dommage:</label>0 <br />
     <label for="bonusAncien">Franchise tempetes:</label>0 <br /> 
     <label for="bonusAncien">Franchise effets:</label>0 <br />
     <label for="bonusAncien">Franchise conducteur:</label>0 <br />
     <label for="bonusAncien">Franchise accessoires:</label>0 <br /> 
     <label for="bonusAncien">Franchise conducteur exclusif:</label><br /> 
     <label for="bonusAncien">Franchise Catastrophe nat:</label>.0000 <br />
     <label for="bonusAncien">Franchise Dom.Collision:</label>0 <br />
     <label for="bonusAncien">Conducteur novice:</label><input type="checkbox" name="complet"  checked />
     <br /><label for="bonusAncien">Franchise Conducteur novice:</label><label class="gen">750.00  </label> <br /> 
     <label for="bonusAncien">Montant effets:</label>0 <br /></fieldset></div><fieldset class="infos"> 
     <legend><i>Autres Infos</i></legend><label for="bonusAncien">Date controle technique:</label><br />
     <label for="bonusAncien">  Optique comprise:</label><input type="checkbox" name="complet"   /> 
     <br /></fieldset> <fieldset class="protection"><legend><i>Protections</i></legend>
     <label>Gravage</label><input type="checkbox" name="complet"   /><br /><label>Alarme Agr&eacute;&eacute;</label><input type="checkbox" name="complet"    />
     <br /> <label>Type de garage:</label> <label class="gen">Voie publique</label><br /> </fieldset></fieldset><br />
     
     
    	</body>
    </html>

  3. #3
    Membre éclairé Avatar de razily
    Inscrit en
    Février 2009
    Messages
    376
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 376
    Par défaut
    Citation Envoyé par pop_up Voir le message
    bonjour,



    J'ai essayé le code suivant et les polices ont l'air similaire (en tout cas au niveau taille) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    je ne faisais pas attention sur ce point

Discussions similaires

  1. [CSS] class selon le type d enfants
    Par luta dans le forum Mise en page CSS
    Réponses: 7
    Dernier message: 10/11/2005, 13h30
  2. [HTML], [XHTML], [CSS]...comment creer un livre d'or ?
    Par douda dans le forum Mise en page CSS
    Réponses: 3
    Dernier message: 30/09/2005, 09h26
  3. Transformation d'un tableau html en CSS
    Par titou250 dans le forum Mise en page CSS
    Réponses: 2
    Dernier message: 27/09/2005, 16h55
  4. [HTML et CSS] Prolème impression tableau html
    Par ofo_tn dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 21/08/2005, 17h27

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo