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

HTML Discussion :

[W3C] Aide concernant la structure et la validation de mon code


Sujet :

HTML

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Mai 2008
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2008
    Messages : 11
    Par défaut [W3C] Aide concernant la structure et la validation de mon code
    Bonjour, alors voilà, je suis nouveau sur ce site et j’ai pu commencer à lire les nombreux posts des utilisateurs, je dois dire que c’est vraiment très intéressants et on apprend beaucoup de choses grâce aux problèmes des autres…
    Je viens vers vous car j’ai besoin de vos conseils pour la réalisation d’un projet qui me tiens à cœur. Je pense que je poste dans la bonne rubrique (dans un premier temps) car en fait j’ai quelques problèmes dans la structuration de mon code HTML pour le site que je tente de développer (si ce n’est pas au bon endroit, je m’en excuse par avance).
    Pour faire simple sur le projet, je souhaite réaliser un site permettant de gérer l’évolution d’un club de football, en tenant à jour une fiche de club, le classement etc (fiches de joueurs et autre améliorations à ajouter à long terme). Les matchs seront joués sur un jeu vidéo et chacun rentre son score et confirme avant que l’admin entérine le résultat. Enfin bref, si vous souhaitez plus d’infos dur le concepts ou si vous voulez m’aider à le développer, n’hésitez pas à m’envoyer un MP …
    Donc voilà, maintenant le problème en lui-même. Je pense avoir d’assez bonnes base en programmation informatique de part ma formation, mais malheureusement ABSOLUMENT pas dans le domaine du design WEB et je dois dire que j’ai assez de mal à réaliser un design convenable pour mon site. Dans l’état actuel des choses, je suis reparti d’un design libre trouvé sur internet que j’ai quelque peu adapté à mes besoins, mais malheureusement, lorsque j’ai tenté de le passer à la validation…CATASTROPHE … J’ai eu le droit à un nombre incalculable d’erreurs, que j’ai compris pour certaines, mais en fait le problème, c’est que j’ai beaucoup de mal à voir la sémantique qu’il faut utiliser pour structurer mon site…
    En bref, dans l’état actuel des choses, il fait ce que je souhaite, mais n’est pas valide et je n’arrive pas à obtenir la même chose en suivant les règles…Si quelqu’un parmi vous pouvait m’éclairer sur les choses qui ne vont absolument pas dans ma conception, sur les règles qu’ils faut que je respecte et qui ne le sont pas ici, ou même me montrer de quelle manière structurer une page telle que je souhaite obtenir, je lui en serais très reconnaissant…
    Vous trouverez ci-dessous un descriptif de la page index.html qui permet de se rendre compte de la structure générale, ainsi que le CSS qui lui est associé (mis tels que je l'ai récupérer dans la design).Le problème, c'est que je n'arrive pas à m'y retrouver dedans et je ne sais pas ce que je peux supprimer ou conserver... Je fais appel à vous si vous pouviez m'aiguiller car j'aimerais être opérationnel d'ici fin septembre mais ca fait déjà 1 bon mois que je suis toujours sur le design et autre concepts 'basique' que je n'arrive pas à adapter. Je mets également en pièce jointe une image de l’accueil du site pour voir que le rendu actuel peut être acceptable si je n’arrive pas à faire mieux…

    Code du fichier index (uniquement la partie HTML de présentée):

    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
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
    <head>
    <!-- Balise Meta dans un fichier inclus -->
    </head>
    <body>
    	<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" id="okvir">
    		<tr>
    			<td>
    				<table width="100%" cellspacing="0">
    					<tr id="header">
    						<td align="center" valign="middle" id="headerbanner">
    						<!-- BANNIERE  -->
    						<a href="http://127.0.0.1/test/index.php"><img border="0" src="http://127.0.0.1/test/images/banniere.png" width="100%" height="100%" alt="Pro Evolution Management" vspace="0"></a>
    						<!-- FIN BANNIERE  -->
    						</td>
    					</tr>
    				</table>
    				<table width="100%" border="0" cellspacing="0" cellpadding="0">
    					<tr>
    						<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
    					<tr> 
    						<td class="pozdrav">
    							<span style="font-size:10pt;">
    								Bienvenue sur <a href="index.php" target="_self">Pro Evolution Management</a>
    							</span>
    		                </td>
    						<td align="right" class="vrijeme"><span id="clock"></span> <script language="JavaScript" type="text/javascript" src="http://127.0.0.1/test/javascript/clock.js"></script> &nbsp;</td>
    					</tr>
    				</table>
    			</td>
    		</tr>
        </table>
    	<table cellspacing="0" cellpadding="0" width="100%" border="0">
    		<tr align="center"> 
    			<td id="headmenu"><a class="menuHead" href="http://127.0.0.1/test/index.php">Accueil</a></td>
    			<td width="1" bgcolor="#d7d7d7"></td>
    			<td id="headmenu"><a class="menuHead" href="http://127.0.0.1/test/reglement.php">Règlement</a></td>
    			<td width="1" bgcolor="#d7d7d7"></td>
    			<td id="headmenu"><a class="menuHead" href="http://127.0.0.1/test/inscription.php">Inscription</a></td>
    			<td width="1" bgcolor="#d7d7d7"></td>
    			<td id="headmenu"><a class="menuHead" href="http://127.0.0.1/test/connexion.php">Connexion</a></td>
    			<td width="1" bgcolor="#d7d7d7"></td>
    			<td id="headmenu"><a class="menuHead" href="http://127.0.0.1/test/contact.php">Contact</a></td>
    		</tr>
    	</table>
     
        <table border="0" cellpadding="0" cellspacing="0" id="glavna">
            <td id="leftcolumn"> 
    			<!-- Start left blocks  -->
    			<div class="blockTitle">
    				Menu Général
    			</div>
    	        <div class="blockContent"><table cellspacing="0">
    				<tr>
    					<td id="mainmenu">
    						<a class="menuTop" href="http://127.0.0.1/test/index.php">Accueil</a><br>
    						<a class="menuMain" href="http://127.0.0.1/test/page03.htm">Tarifs</a><br>
    						<a class="menuMain" href="http://127.0.0.1/test/page04.htm">Services</a><br>
    						<a class="menuMain" href="http://127.0.0.1/test/page05.htm">Contact</a><br>
    						<a class="menuMain" href="http://127.0.0.1/test/page06.htm">Plan du site</a>
    					</td>
    				</tr>
    			</div>
    	</table>
    		<div class="blockTitle">Classement</div>
    		<div class="blockContent"><center>
    			Ici le Classement
    		</center></div>
    	</td>

    Code de la partie CSS correspondant au fichier index (fichier brut car je n'arrive pas à distinguer l'utile de l'inutile...):

    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
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    body
    {
    	color: black;
    	font-family: Verdana,Arial,Sans-serif;
    	background-color: #D0D0D0;
    	margin: 0px;
    }
    table
    {
    	width: 100%;
    	font-size: 11px;
    }
    table#okvir
    {
    	background-color: #FFFFFF;
    	width: 758px;
    }
    table td
    {
    	padding: 0;
    	border-width: 0;
    	vertical-align: top;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    }
    a
    {
    	color: #002B55;
    	text-decoration: none;
    	font-weight: bold;
    	background-color: transparent;
    }
    a:hover
    {
    	color: #ff6600;
    	text-decoration: underline;
    }
    ul
    {
    	margin: 2px;
    	padding: 2px;
    	list-style: decimal inside;
    	text-align: left;
    }
    li
    {
    	margin-left: 2px;
    	list-style: square inside;
    	color: #2F5376;
    }
    .item
    {
    	color: #0D0D0D;
    }
    .itemHead
    {
    	padding: 3px;
    	color: #242424;
    	border-bottom: 1px dashed #8699B5;
    }
    .itemInfo
    {
    	text-align: right;
    	padding: 3px;
    	background-color: #FFFFFF;
    }
    .itemTitle a
    {
    	font-size: 130%;
    	font-weight: bold;
    	font-variant: small-caps;
    	color: #A52303;
    	background-color: transparent;
    }
    .itemPoster
    {
    	font-size: 80%;
    	font-style: italic;
    }
    .itemPostDate
    {
    	font-size: 80%;
    	font-style: italic;
    }
    .itemStats
    {
    	font-size: 80%;
    	font-style: italic;
    }
    .itemBody
    {
    	padding-left: 5px;
    }
    .itemText
    {
    	margin-top: 5px;
    	margin-bottom: 5px;
    	line-height: 1.5em;
    }
    .itemText:first-letter
    {
    	font-size: 133%;
    	font-weight: bold;
    }
    .itemFoot
    {
    	text-align: left;
    	padding: 3px;
    	background-color: #FFFFFF;
    	font-size: 11px;
    }
    .itemAdminLink
    {
    	font-size: 90%;
    }
    .itemPermaLink
    {
    	font-size: 90%;
    }
    th
    {
    	background-color: #BBBBBB;
    	color: #004080;
    	padding: 2px;
    	vertical-align: middle;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    }
    td#headerbanner
    {
    	width: 100%;
    	background-color: #FFFFFF;
    	vertical-align: middle;
    }
    td#headerbar
    {
    	height: 29px;
    	background-color: #939393;
    	color: #FFFFFF;
    	line-height: 27px;
    	padding-left: 6px;
    	padding-right: 7px;
    	border-top: 1px solid #000000;
    	border-bottom: 1px solid #000000;
    }
    td#headerbar a
    {
    	color: #FFFFFF;
    }
    td#headerbar a:hover
    {
    	color: #FF8040;
    }
    td#leftcolumn
    {
    	width: 160px;
    	font-size: 11px;
    	border-right: 1px solid #E5E5E5;
    	padding-top: 2px;
    }
    td#leftcolumn th
    {
    	vertical-align: bottom;
    	border-bottom: 1px dashed #8699B5;
    	background-color: transparent;
    	color: #464646;
    }
    td#leftcolumn div.blockTitle
    {
    	padding: 3px;
    	color: #FFFFFF;
    	font-weight: bold;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-left: 0px;
    	font-size: 10px;
    	background-color: #A6A6A6;
    	margin-bottom: 2px;
    	padding-left: 18px;
    	background-image: url('../images/puce.gif');
    	background-repeat: no-repeat;
    	background-position: left;
    }
    td#leftcolumn div.blockContent
    {
    	padding: 2px;
    	line-height: 120%;
    	line-height: 120%;
    }
    td#centercolumn
    {
    	font-size: 12px;
    	color: #464646;
    	padding-left: 2px;
    	padding-right: 2px;
    	width: 100%;
    }
    td#centercolumn th
    {
    	color: #004080;
    	background-color: #FFFFFF;
    }
    td#centerCcolumn div.blockTitle
    {
    	height : 100%;
    	padding: 0px;
    	color: #454545;
    	font-weight: bold;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-left: 0px;
    	font-size: 10px;
    	background-color: #CCCCCC;
    	margin-bottom: 0px;
    	padding-left: 18px;
    	background-image: url('../images/blue_plus.png');
    	background-repeat: no-repeat;
    	background-position: left;
    	border-bottom: 1px dashed #000000;
    	border-top: 2px solid #000000;
    	border-left: 2px solid #000000;
    	border-right: 2px solid #000000;
    }
    td#centerCcolumn div.ssblockTitle
    {
    	padding: 2px;
    	color: #454545;
    	font-weight: bold;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-left: 0px;
    	font-size: 9px;
    	background-color: #FFFFCC;
    	margin-bottom: 0px;
    	padding-left: 0px;
    	background-image: url('../images/blue_plus.png');
    	background-repeat: no-repeat;
    	background-position: left;
    	border-bottom: 1px dashed #000000;
    	border-left: 2px solid #000000;
    	border-right: 2px solid #000000;
    }
    td#centerCcolumn div.blockContent
    {
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-left: 0px;
    	padding: 8px;
    	background-color: #FFFEEE;
    	border-bottom: 2px solid #000000;
    	border-left: 2px solid #000000;
    	border-right: 2px solid #000000;
    }
    td#centerLcolumn
    {
    	width: 50%;
    	padding: 0px 0px 0px 0px;
    	border-right: 1px solid #cccccc;
    }
    td#centerLcolumn div.blockTitle
    {
    	padding: 3px;
    	color: #454545;
    	font-weight: bold;
    	font-size: 10px;
    	background-color: #BBBBBB;
    	margin-bottom: 5px;
    	background-repeat: no-repeat;
    	padding-left: 18px;
    	background-position: left;
    	background-image: url('../images/blue_plus.png');
    }
    td#centerLcolumn div.blockContent
    {
    	margin-right: 0px;
    	margin-left: 0px;
    	line-height: 120%;
    	padding: 2px;
    }
    td#centerRcolumn
    {
    	width: 50%;
    	padding: 0px 0px 0px 0px;
    }
    td#centerRcolumn div.blockTitle
    {
    	padding: 3px;
    	color: #454545;
    	font-weight: bold;
    	font-size: 10px;
    	background-color: #BBBBBB;
    	margin-bottom: 0px;
    	background-image: url('../images/blue_plus.png');
    	padding-left: 18px;
    	background-repeat: no-repeat;
    	background-position: left;
    }
    td#centerRcolumn div.blockContent
    {
    	margin-right: 0px;
    	margin-left: 0px;
    	margin-bottom: 2px;
    	line-height: 120%;
    	padding: 2px;
    }
    td#rightcolumn
    {
    	width: 160px;
    	font-size: 11px;
    	border-left: 1px solid #E5E5E5;
    	padding-top: 2px;
    }
    td#rightcolumn th
    {
    	vertical-align: bottom;
    	border-bottom: 1px dashed #8699B5;
    	background-color: transparent;
    	color: #464646;
    }
    td#rightcolumn div.blockTitle
    {
    	padding: 3px;
    	color: #FFFFFF;
    	font-weight: bold;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-left: 0px;
    	font-size: 10px;
    	background-color: #A6A6A6;
    	margin-bottom: 2px;
    	padding-left: 18px;
    	background-image: url('../images/puce.gif');
    	background-repeat: no-repeat;
    	background-position: left;
    }
    td#rightcolumn div.blockContent
    {
    	padding: 3px;
    	line-height: 120%;
    }
    td#mainmenu a
    {
    	color: #575757;
    	font-size: 11px;
    	display: block;
    	background-image: url('../images/caret-r.gif');
    	background-repeat: no-repeat;
    	background-position: left;
    	padding-left: 15px;
    	font-weight: normal;
    }
    td#mainmenu a:hover
    {
    	background-color: #ffffff;
    	color: #FF0000;
    	background-image: url('../images/caret-hover.gif');
    	background-repeat: no-repeat;
    	background-position: left;
    }
    td#mainmenu a.menuTop
    {
    	padding-left: 15px;
    }
    td#mainmenu a.menuMain
    {
    	padding-left: 15px;
    }
    td#mainmenu a.menuSub
    {
    	padding-left: 23px;
    	color: #9F0000;
    	font-weight: normal;
    }
    td#usermenu a
    {
    	color: #8D8D8D;
    	font-weight: normal;
    	font-size: 10px;
    	padding-left: 5px;
    	padding-bottom: 1px;
    }
    td#usermenu a:hover
    {
    	background-color: #ffffff;
    	color: #FF0000;
    }
    td#usermenu a.highlight
    {
    	background-color: #fcc;
    }
    .head
    {
    	font-weight: bold;
    	background-repeat: repeat-x;
    	background-position: left;
    	color: #373737;
    	height: 24px;
    	line-height: 22px;
    	text-align: center;
    	background-color: #D8D8D8;
    }
    .even
    {
    	background-color: #EEEEEE;
    	padding: 5px;
    }
    .odd
    {
    	background-color: #FAFAFA;
    	padding: 5px;
    }
    .foot
    {
    	padding: 5px;
    	font-weight: bold;
    }
    tr.even td
    {
    	background-color: transparent;
    	padding: 5px;
    }
    tr.odd td
    {
    	background-color: transparent;
    	padding: 5px;
    }
    div.errorMsg
    {
    	background-color: #FFCCCC;
    	text-align: center;
    	border-top: 1px solid #DDDDFF;
    	border-left: 1px solid #DDDDFF;
    	border-right: 1px solid #AAAAAA;
    	border-bottom: 1px solid #AAAAAA;
    	font-weight: bold;
    	padding: 10px;
    }
    div.confirmMsg
    {
    	background-color: #DDFFDF;
    	color: #136C99;
    	text-align: center;
    	border-top: 1px solid #DDDDFF;
    	border-left: 1px solid #DDDDFF;
    	border-right: 1px solid #AAAAAA;
    	border-bottom: 1px solid #AAAAAA;
    	font-weight: bold;
    	padding: 10px;
    }
    div.resultMsg
    {
    	background-color: #CCCCCC;
    	color: #333333;
    	text-align: center;
    	border-top: 1px solid silver;
    	border-left: 1px solid silver;
    	font-weight: bold;
    	border-right: 1px solid #666666;
    	border-bottom: 1px solid #666666;
    	padding: 10px;
    }
    div.xoopsCode
    {
    	background: #FFFFFF;
    	border: 1px inset #000080;
    	font-family: "Courier New",Courier,monospace;
    	padding: 0px 6px 6px 6px;
    }
    div.xoopsQuote
    {
    	background: #FFFFFF;
    	border: 1px inset #000080;
    	font-family: "Courier New",Courier,monospace;
    	padding: 0px 6px 6px 6px;
    }
    .comTitle
    {
    	font-weight: bold;
    	margin-bottom: 2px;
    }
    .comText
    {
    	padding: 2px;
    }
    .comUserStat
    {
    	font-size: 10px;
    	color: #2F5376;
    	font-weight: bold;
    	border: 1px solid silver;
    	background-color: #ffffff;
    	margin: 2px;
    	padding: 2px;
    }
    .comUserStatCaption
    {
    	font-weight: normal;
    }
    .comUserStatus
    {
    	margin-left: 2px;
    	margin-top: 10px;
    	color: #2F5376;
    	font-weight: bold;
    	font-size: 10px;
    }
    .comUserRank
    {
    	margin: 2px;
    }
    .comUserRankText
    {
    	font-size: 10px;
    	font-weight: bold;
    }
    .comUserRankImg
    {
    	border: 0;
    }
    .comUserImg
    {
    	margin: 2px;
    }
    .comDate
    {
    	font-weight: normal;
    	font-style: italic;
    	font-size: smaller;
    }
    .comDateCaption
    {
    	font-weight: bold;
    	font-style: normal;
    }
    input
    {
    	font: 11px verdana, arial, helvetica, sans-serif;
    }
    textarea
    {
    	border: 1px solid #8699B5;
    	width: 400px;
    	font: 11px verdana, arial, helvetica, sans-serif;
    	background-color: #F5F5F5;
    }
    input.formTextBox
    {
    	border: 1px solid #8699B5;
    	background: #F5F5F5;
    	font: 11px verdana, arial, helvetica, sans-serif;
    }
    select
    {
    	border: 1px solid #8699B5;
    	font: 11px verdana, arial, helvetica, sans-serif;
    	background-color: #F5F5F5;
    }
    .pozdrav
    {
    	background-color: #FFFFFF;
    	padding: 5px;
    	font-size: 11px;
    	border-bottom: 1px solid #8699B5;
    }
    .vrijeme
    {
    	background-color: #FFFFFF;
    	padding-top: 5px;
    	font-size: 10px;
    	border-bottom: 1px solid #8699B5;
    }
    .headerprvi
    {
    	background-color: #FFFFFF;
    	color: #454545;
    	font-weight: bold;
    	vertical-align: middle;
    	border-bottom: 1px solid #8699B5;
    }
    form
    {
    	font-size: 11px;
    	color: #787878;
    }
    .loginlink
    {
    	background-image: url('../images/btn_bullet.gif');
    	background-repeat: no-repeat;
    	background-position: left;
    	padding-left: 10px;
    }
    .button
    {
    	font-size: 10px;
    	color: #000000;
    	margin-bottom: 1px;
    }
    .sadrzaj
    {
    	margin-bottom: 1px;
    }
    .blok
    {
    	margin-bottom: 6px;
    }
    .forum
    {
    	background-color: #E2E2E2;
    	font-size: 11px;
    	font-weight: bold;
    	color: #004080;
    	padding: 6px;
    	background-image: url('../menu4_bar.gif');
    }
    .forumprvi
    {
    	background-color: #F7F9FB;
    	padding: 3px;
    	color: #004080;
    }
    .forumdrugi
    {
    	background-color: #EFF3F8;
    	padding: 3px;
    	color: #004080;
    }
    .navigacijaforum
    {
    	background-color: #DDDDDD;
    	padding: 5px;
    	color: #004080;
    	border-top: 1px dashed #333333;
    	border-bottom: 1px dashed #333333;
    	font-size: 12px;
    	text-align: center;
    	font-weight: bold;
    }
    .border
    {
    	border-left: 1px solid #cccccc;
    	border-bottom: 1px solid #cccccc;
    	padding: 3px;
    }
    .borderdesno
    {
    	border-bottom: 1px solid #cccccc;
    	border-right: 1px solid #cccccc;
    	padding: 3px;
    }
    .forum a
    {
    	color: #004080;
    }
    .download
    {
    	padding: 10px;
    }
    .downhead
    {
    	background-image: url('../images/menu2_bar.gif');
    	color: #FFFFFF;
    	padding: 5px;
    }
    .downloadsvaki
    {
    	width: 97%;
    	border-top: 1px solid #333333;
    	border-bottom: 1px solid #333333;
    	padding: 5px;
    }
    .tiny
    {
    	width: 90%;
    }
    .privatnost
    {
    	color: #939393;
    	font-size: 10px;
    	text-align: center;
    }
    .privatnost a
    {
    	color: #939393;
    }
    td#headmenu a
    {
    	background-color: #6B6B6B;
    	color: #FFFFFF;
    	font-size: 10px;
    	display: block;
    	padding: 5px;
    }
    td#headmenu a:hover
    {
    	background-color: #C0C0C0;
    	color: #494949;
    }
    td#headmenu a.menuHead
    {
    	font-size: 10px;
    }
    .dole
    {
    	border-top: 1px solid #cccccc;
    	width: 758px;
    	margin-top: 5px;
    }

    Merci de votre aide.
    Cordialement,
    Kais

    PS : Pour ceux que le projet intéresse, j’ai avancé également sur la partie d’administration avec gestion des membres, gestions de news et autres…donc n’hesitez pas à me MP si cela vous tente (il s’agit bien évidemment d’un projet bénévole qui a pour unique but de réunir des personnes autour d’une même passion en leur proposant un système évolutif de gestion de club)

    edit : Désolé pour les problèmes de mise en forme avec PHP, je débute sur le forum... J'espere ne pas avoir fait d'erreur cette fois-ci, mais yant lu les règles, je ne pense pas.... Encore désolé et merci au modérateur pour sa rapidité)
    Images attachées Images attachées  

  2. #2
    Expert confirmé
    Avatar de popo
    Homme Profil pro
    Analyste programmeur Delphi / C#
    Inscrit en
    Mars 2005
    Messages
    2 921
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Analyste programmeur Delphi / C#
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mars 2005
    Messages : 2 921
    Par défaut
    C'est le CSS ou le XHTML que tu essaie de valider ?

    <img border="0" src="http://127.0.0.1/test/images/banniere.png" width="100%" height="100%" alt="Pro Evolution Management" vspace="0">
    déjà rajoute un slash à la fin de ton <img>

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <img border="0" src="http://127.0.0.1/test/images/banniere.png" width="100%" height="100%" alt="Pro Evolution Management" vspace="0" />

  3. #3
    Modérateur
    Avatar de blueice
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2003
    Messages
    3 494
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 50
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2003
    Messages : 3 494
    Par défaut
    Pourquoi vouloir valider ?
    Si la sémantique t'importe, vire tous les tableaux pour la mise en forme et n'utilise que la CSS,

    Pas d'encodage de la page, donc rajoute en un en UTF-8, enregistre la page en UTF-8 et assure toi que ton serveur ne force pas l'encodage en ISO.
    Tes balises <img src="" alt="" /> doivent être fermées.
    Un "id" doit être unique, ce n'est pas le cas.
    Un <td> qui se balade tout seul dans une <table>
    Il faut fermer les <br />
    Inversion de balise <table><div>

    Copie à revoir

  4. #4
    Membre habitué
    Profil pro
    Inscrit en
    Mai 2008
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2008
    Messages : 11
    Par défaut
    Lorsque je fais la validation W3C, il me reconnait bien l'encodage UTF-8, mais c'est vrai qu'il serait utile de le rajouter....
    Pour contre quand tu me parles de virer tous les tableaux et de les gerer uniquement par CSS, je veux bien mais je vois pas trop comment faire... Oulala, en tt cas il ya beaucoup d'erreur dans le fichier que j'ai récuperer...comme quoi ce n'était pas forcement une bonne idée... Je vais donc me replonger totalement dedans en esperant vous proposez quelque chose de mieux la prochaine fois...

    Mais sinon, des avis sur l'aspect général du site? Je suis ouvert à toute critique car c'est grâce à cela que l'on apprend, merci de votre aide

    Cordialement,

Discussions similaires

  1. [Lex/Yacc] Aide traduction des structures de contrôle
    Par pelo68 dans le forum Générateurs de compilateur
    Réponses: 2
    Dernier message: 07/12/2010, 10h26
  2. [VBA-E] Aide pour un bouton dans excel qui exécuterai mon code.
    Par pauletta22 dans le forum Macros et VBA Excel
    Réponses: 3
    Dernier message: 24/05/2006, 16h23
  3. Aide sur les structure
    Par Yoshio dans le forum C
    Réponses: 7
    Dernier message: 18/02/2006, 12h56
  4. Besoin d'aide concernant 1 exo
    Par Shakan972 dans le forum Algorithmes et structures de données
    Réponses: 9
    Dernier message: 29/11/2005, 11h31
  5. [W3C] aide pour html avec mozilla et netscape
    Par teambeyou dans le forum Balisage (X)HTML et validation W3C
    Réponses: 6
    Dernier message: 06/09/2005, 20h30

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