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 :

contenu dans div


Sujet :

CSS

  1. #1
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut contenu dans div
    Bonjour a tous,

    Voilà je suis nouveau sur le forum et je rencontre quelques soucis dans la création d'un site actuellement.

    je vais essayer d'etre claire,
    dans un premier temps j'ai un probleme de contenu, a savoir que mon div principal ne s'entend pas jusqu'a la fin de mon contenu php, qui lui provient d'une base de données Mysql. autre soucis concernant ce contenu, les caractères spéciaux s'affiche mal, pour les accents c'est bon mais pour le sigle "€" ca passe pas!

    dans un deuxieme temps j'ai un probleme de footer qui lui ne se place pas en dessous des contenu quand la page est plus longue que la fenetre du nav.

    voici les codes (les css ne sont pas exportés pour le moment).

    L'index.php qui grace a un centre appel les differentes pages du site

    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
     
    <!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">
    <head>
    <?php include('title.php'); ?>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Who is the DJ - <?php echo $titre; ?></title>
    <style type="text/css">
    html, body{
    	height:100%;
    	margin: 0px;
    	padding: 0px;
    }
    body{
    	background-color:#000;
    	background-image: url(images/fond_equalize.png);
    	background-repeat: no-repeat;
    	background-attachment: fixed;
    	background-position:center top;
    	min-height: 100%;
    	margin: 0px;
    	padding: 0px;
    	font-family: Arial, Helvetica, sans-serif;
    }
     
    #bg {
    	position:absolute;
    	left:-449px;
    	width:898px;
    	z-index:1;
    	margin-left: 50%;
    	margin-top: 0px;
    	margin-bottom: 0px;
    	border-right-width: 1px;
    	border-left-width: 1px;
    	border-right-style: solid;
    	border-left-style: solid;
    	border-right-color: #CCC;
    	border-left-color: #CCC;
    	background-image: url(images/Tunnelvision1280.jpg);
    	background-position: center 160px;
    	background-repeat: no-repeat;
    	height: 100%;
    	padding: 0px;
    }
    #header {
    	position:absolute;
    	left:0;
    	top:0;
    	width:898px;
    	height:120px;
    	z-index:2;
    	background-image: url(images/who_is_boss_1.png);
    }
    #menu {
    	position:absolute;
    	left:0px;
    	top:120px;
    	width:898px;
    	height:40px;
    	z-index:2;
    	background-image: url(images/bgmenu_7.png);
    }
    #btn {
    	position:absolute;
    	left:-327px;
    	height:40px;
    	z-index:2;
    	margin-left: 50%;
    	border-right-width: 1px;
    	border-right-style: solid;
    	border-right-color: #999;
    	width: 655px;
    }
    #menu ul {
    	margin: 0px;
    	padding: 0px;
    	list-style-type: none;
    }
    #menu ul li {
    	float: left;
    	border-left-width: 1px;
    	border-left-style: solid;
    	border-left-color: #999;
    }
    #menu ul li a {
    	float: left;
    	display: block;
    	width: 130px;
    	line-height: 40px;
    	text-align: center;
    	color: #CCC;
    	text-decoration: none;
    	font-weight: bold;
    	font-size: 16px;
    	font-family: Arial, Helvetica, sans-serif;
    }
    #menu ul li a:hover {
    	font-weight: bold;
    	color: #FFF;
    }
    #body {
    	position:absolute;
    	left:10px;
    	top:180px;
    	width:878px;
    	z-index:2;
    }
    #footer {
    	position:absolute;
    	width:100%;
    	height:31px;
    	z-index:2;
    	background-image: url(images/footer.png);
    	border-top-width: 1px;
    	border-top-style: solid;
    	border-top-color: #999;
    	margin: 0px;
    	bottom: 0;
    	clear: both;
    	visibility: hidden;
    }
    </style>
    </head>
     
    <body>
    <div id="bg">
      <div id="header"></div>
      <div id="menu">
        <div id="menu_btn">
          <div id="btn">
          <ul>
            <li><a href="?page=accueil">Accueil</a></li>
            <li><a href="*">Concept</a></li>
            <li><a href="*">DJ Théo André</a></li>
            <li><a href="*">Co2</a></li>
            <li><a href="?page=contact">Contact</a></li>
          </ul>
          </div>
        </div>
      </div>
      <div id="body"><?php include('centre.inc.php');?></div>
      <div id="footer"></div>
    </div>
     
    </body>
    </html>
    L'accueil.php (le souci se trouve dans cette page, dans le div #soiree, le contenu quand a lui se trouve dans le div #comm)

    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
     
    <style type="text/css">
    #soiree {
    	position:absolute;
    	left:0px;
    	top:0px;
    	width:550px;
    	z-index:3;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	background-image: url(images/bg_text.png);
    	background-repeat: repeat;
    	min-height: 500px;
    }
    #comm {
    	position: relative;
    	width: 500px;
    	left: 10px;
    	top: 80px;
    	z-index: 4;
    }
    .mail {
    	line-height: 15px;
    	display: block;
    }
    #titresoiree {
    	position:relative;
    	width:540px;
    	z-index:4;
    	margin-bottom: 10px;
    	background-image: url(images/titre.png);
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 16px;
    	color: #CCC;
    	font-weight: bold;
    	padding-left: 10px;
    	line-height: 20px;
    }
    #soiree  h4 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	text-decoration: underline;
    	color: #036;
    	margin: 0px;
    }
    #sonde {
    	position:absolute;
    	left:560px;
    	top:0px;
    	width:318px;
    	z-index:3;
    	background-image: url(images/bg_text.png);
    	background-repeat: repeat;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    }
    h1 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 14px;
    	font-weight: bold;
    	text-transform: uppercase;
    	color: #00F;
    	margin: 0px;
    }
    h2 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	color: #06F;
    	margin: 0px;
    }
    #titresonde {
    	position:relative;
    	width:308px;
    	z-index:4;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 16px;
    	font-weight: bold;
    	color: #CCC;
    	background-image: url(images/titre.png);
    	line-height: 20px;
    	margin-bottom: 10px;
    	padding-left: 10px;
    }
    table {
    	margin-top: 10px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    	margin-left: 0px;
    }
    td {
    	margin-top: 0px;
    	margin-right: 5px;
    	margin-bottom: 0px;
    	padding-top: 0px;
    	padding-right: 5px;
    	padding-bottom: 0px;
    	padding-left: 0px;
    }
    #tablesonde {
    	position:relative;
    	left:0px;
    	top:0px;
    	width:298px;
    	z-index:4;
    	margin-left: 10px;
    	margin-bottom: 10px;
    }
    #sonde  h4 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	color: #036;
    	margin: 0px;
    }
    #bgpass {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    }
    #bgpass a {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	color: #036;
    	text-decoration: none;
    	font-weight: bold;
    }
    #bgmusique {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #bgentree {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #bginfo {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #bgadresse {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #metro {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #fly {
    	position:absolute;
    	left:270px;
    	top:30px;
    	width:270px;
    	height:398px;
    	z-index:4;
    }
    #titre {
    	margin-bottom: 0px;
    	margin-left: 10px;
    	position: relative;
    	width: 250px;
    	z-index: 4;
    }
    #lieu {
    	width: 250px;
    	margin-bottom: 0px;
    	margin-left: 10px;
    	position: relative;
    	z-index: 4;
    }
    #date {
    	width: 250px;
    	margin-bottom: 20px;
    	margin-left: 10px;
    	position: relative;
    	z-index: 4;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 10px;
    	text-transform: capitalize;
    }
    </style>
    <?php 
    //connexion a la tabe
    include('admin/connexion_sql.php');
    $connect=mysql_connect($host,$login,$pass) or die ("Connection impossible");
    mysql_select_db($base,$connect) or die ("selection impossible");
    //recuperation des données
    	$requete = mysql_query("SELECT * FROM soiree");
    	$affiche = mysql_fetch_array($requete);
     
    	//fermeture de la base
    	mysql_close();
    ?>
    <div id="soiree">
      <div id="titresoiree">Annonce soirée
      </div>  
      <div id="fly"><?php echo'<img src="../db_bud/admin/images/flyer/'.$affiche['fly'].'" width="270" height="398" />';?>
      </div>
      <div id="titre"><h1><?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['titre']))));?></h1>
      </div>
      <div id="lieu"><h2><?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['lieu']))));?></h2>
      </div>
      <div id="date"><?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['date']))));?>
      </div>
      <div id="bgpass"><h4>Pass :</h4>
      <?php 
      echo "<a href='admin/download?file=".$affiche['pass']."'>Télécharger le pass</a>";?></div>
      <div id="bgmusique"><h4>Musique :</h4>
       <?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['musique']))));?>
      </div>
      <div id="bgentree"><h4>Entrée :</h4>
      <?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['entree']), 30, "\n", true)));?>
      </div>
      <div id="bginfo"><h4>Infoline :</h4>
        <?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['info']))));?>
      </div>
      <div id="bgadresse"><h4>Adresse :</h4>
        <?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['adresse']), 40, "\n", true)));?>
      </div>
      <div id="metro"><h4>Métro :</h4>
        <?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['metro']))));?></div>
      <div id="comm">
      	<?php echo nl2br(htmlentities(wordwrap(stripslashes($affiche['comm']))));?>
      </div>
    </div>
    <div id="sonde">
      <div id="titresonde">Titres
      </div>
      <div id="tablesonde">
      <h4>Séléctionner vos 3 titres préférés</h4>
        <?php include('vote.in.php'); ?>
      </div>
    </div>
    Voilà si quelqu'un a une solution pour moi ca serait vraiment sympas, ou alors m'expliquer pourquoi l'affichage ne va pas!

    quoi qu'il en soit merci d'avance pour vos réponses.

  2. #2
    Rédacteur

    Homme Profil pro
    Responsable de projet
    Inscrit en
    Mai 2009
    Messages
    634
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : France

    Informations professionnelles :
    Activité : Responsable de projet
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2009
    Messages : 634
    Par défaut
    Salut,

    si tu veux une réponse efficace, met l'HTML généré par le navigateur et non pas le php, ce sera plus simple
    merci

  3. #3
    Membre expérimenté Avatar de elfamine
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2011
    Messages
    113
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Étudiant
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 113
    Par défaut
    si tu change le charset en ISO-8859-15 est ce que ca règle le problème de l'euro ?

  4. #4
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut
    Salut merci pour vos réponses,

    en ce qui concerne le "€" ca change rien en ISO, pour info d'ailleurs le "€" s'affiche correctement dans la base de données, c'est au moment de le recuperé que ca coince apparemment!

    le champ de la base est de type mediumtext et interclassement en latin1.

    voilà le code genéré (comme dis précedemment les css sont pas exportés, donc ca peut paraitre étrange)

    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
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Who is the DJ - Accueil</title>
    <style type="text/css">
    html, body{
    	height:100%;
    	margin: 0px;
    	padding: 0px;
    }
    body{
    	background-color:#000;
    	background-image: url(images/fond_equalize.png);
    	background-repeat: no-repeat;
    	background-attachment: fixed;
    	background-position:center top;
    	min-height: 100%;
    	margin: 0px;
    	padding: 0px;
    	font-family: Arial, Helvetica, sans-serif;
    }
     
    #bg {
    	position:absolute;
    	left:-449px;
    	width:898px;
    	z-index:1;
    	margin-left: 50%;
    	margin-top: 0px;
    	margin-bottom: 0px;
    	border-right-width: 1px;
    	border-left-width: 1px;
    	border-right-style: solid;
    	border-left-style: solid;
    	border-right-color: #CCC;
    	border-left-color: #CCC;
    	background-image: url(images/Tunnelvision1280.jpg);
    	background-position: center 160px;
    	background-repeat: no-repeat;
    	height: 100%;
    	padding: 0px;
    }
    #header {
    	position:absolute;
    	left:0;
    	top:0;
    	width:898px;
    	height:120px;
    	z-index:2;
    	background-image: url(images/who_is_boss_1.png);
    }
    #menu {
    	position:absolute;
    	left:0px;
    	top:120px;
    	width:898px;
    	height:40px;
    	z-index:2;
    	background-image: url(images/bgmenu_7.png);
    }
    #btn {
    	position:absolute;
    	left:-327px;
    	height:40px;
    	z-index:2;
    	margin-left: 50%;
    	border-right-width: 1px;
    	border-right-style: solid;
    	border-right-color: #999;
    	width: 655px;
    }
    #menu ul {
    	margin: 0px;
    	padding: 0px;
    	list-style-type: none;
    }
    #menu ul li {
    	float: left;
    	border-left-width: 1px;
    	border-left-style: solid;
    	border-left-color: #999;
    }
    #menu ul li a {
    	float: left;
    	display: block;
    	width: 130px;
    	line-height: 40px;
    	text-align: center;
    	color: #CCC;
    	text-decoration: none;
    	font-weight: bold;
    	font-size: 16px;
    	font-family: Arial, Helvetica, sans-serif;
    }
    #menu ul li a:hover {
    	font-weight: bold;
    	color: #FFF;
    }
    #body {
    	position:absolute;
    	left:10px;
    	top:180px;
    	width:878px;
    	z-index:2;
    }
    #footer {
    	position:absolute;
    	width:100%;
    	height:31px;
    	z-index:2;
    	background-image: url(images/footer.png);
    	border-top-width: 1px;
    	border-top-style: solid;
    	border-top-color: #999;
    	margin: 0px;
    	bottom: 0;
    	clear: both;
    	visibility: hidden;
    }
    </style>
    </head>
     
    <body>
    <div id="bg">
      <div id="header"></div>
      <div id="menu">
        <div id="menu_btn">
     
          <div id="btn">
          <ul>
            <li><a href="?page=accueil">Accueil</a></li>
            <li><a href="*">Concept</a></li>
            <li><a href="*">DJ Théo André</a></li>
            <li><a href="*">Co2</a></li>
            <li><a href="?page=contact">Contact</a></li>
     
          </ul>
          </div>
        </div>
      </div>
      <div id="body"> <style type="text/css">
    #soiree {
    	position:absolute;
    	left:0px;
    	top:0px;
    	width:550px;
    	z-index:3;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	background-image: url(images/bg_text.png);
    	background-repeat: repeat;
    	min-height: 500px;
    }
    #comm {
    	position: relative;
    	width: 500px;
    	left: 10px;
    	top: 80px;
    	z-index: 4;
    }
    .mail {
    	line-height: 15px;
    	display: block;
    }
    #titresoiree {
    	position:relative;
    	width:540px;
    	z-index:4;
    	margin-bottom: 10px;
    	background-image: url(images/titre.png);
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 16px;
    	color: #CCC;
    	font-weight: bold;
    	padding-left: 10px;
    	line-height: 20px;
    }
    #soiree  h4 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	text-decoration: underline;
    	color: #036;
    	margin: 0px;
    }
    #sonde {
    	position:absolute;
    	left:560px;
    	top:0px;
    	width:318px;
    	z-index:3;
    	background-image: url(images/bg_text.png);
    	background-repeat: repeat;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    }
    h1 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 14px;
    	font-weight: bold;
    	text-transform: uppercase;
    	color: #00F;
    	margin: 0px;
    }
    h2 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	color: #06F;
    	margin: 0px;
    }
    #titresonde {
    	position:relative;
    	width:308px;
    	z-index:4;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 16px;
    	font-weight: bold;
    	color: #CCC;
    	background-image: url(images/titre.png);
    	line-height: 20px;
    	margin-bottom: 10px;
    	padding-left: 10px;
    }
    table {
    	margin-top: 10px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    	margin-left: 0px;
    }
    td {
    	margin-top: 0px;
    	margin-right: 5px;
    	margin-bottom: 0px;
    	padding-top: 0px;
    	padding-right: 5px;
    	padding-bottom: 0px;
    	padding-left: 0px;
    }
    #tablesonde {
    	position:relative;
    	left:0px;
    	top:0px;
    	width:298px;
    	z-index:4;
    	margin-left: 10px;
    	margin-bottom: 10px;
    }
    #sonde  h4 {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	color: #036;
    	margin: 0px;
    }
    #bgpass {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    }
    #bgpass a {
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    	color: #036;
    	text-decoration: none;
    	font-weight: bold;
    }
    #bgmusique {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #bgentree {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #bginfo {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #bgadresse {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #metro {
    	position:relative;
    	width:250px;
    	z-index:4;
    	margin-bottom: 10px;
    	margin-left: 10px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 12px;
    }
    #fly {
    	position:absolute;
    	left:270px;
    	top:30px;
    	width:270px;
    	height:398px;
    	z-index:4;
    }
    #titre {
    	margin-bottom: 0px;
    	margin-left: 10px;
    	position: relative;
    	width: 250px;
    	z-index: 4;
    }
    #lieu {
    	width: 250px;
    	margin-bottom: 0px;
    	margin-left: 10px;
    	position: relative;
    	z-index: 4;
    }
    #date {
    	width: 250px;
    	margin-bottom: 20px;
    	margin-left: 10px;
    	position: relative;
    	z-index: 4;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size: 10px;
    	text-transform: capitalize;
    }
    </style>
     
    <div id="soiree">
      <div id="titresoiree">Annonce soirée
      </div>  
      <div id="fly"><img src="../db_bud/admin/images/flyer/81694_latinos-in-paris-mix-club-8.jpg" width="270" height="398" />  </div>
     
      <div id="titre"><h1>Who is the DJ</h1>
      </div>
      <div id="lieu"><h2>@ le Mix Club</h2>
      </div>
      <div id="date">vendredi 15 Avril  </div>
      <div id="bgpass"><h4>Pass :</h4>
      <a href='admin/download?file=pass_visuel_81694_latinos-in-paris-mix-club-8.jpg'>Télécharger le pass</a></div>
     
      <div id="bgmusique"><h4>Musique :</h4>
       Electro/House  </div>
      <div id="bgentree"><h4>Entrée :</h4>
      Entr&eacute;e gratuite pour les<br />
    filles avant 01h,<br />
    ou sur pr&eacute;sentation du pass.  </div>
     
      <div id="bginfo"><h4>Infoline :</h4>
        0632987916  </div>
      <div id="bgadresse"><h4>Adresse :</h4>
        15 rue mes couilles,<br />
    75000 Paris  </div>
      <div id="metro"><h4>Métro :</h4>
     
        cabrone</div>
      <div id="comm">
      	Latinos In Paris, &eacute;v&egrave;nement pr&eacute;sent&eacute; par : OP Prod Events, Fab Ro, Chriss<br />
    K, Edwin Lempira et Nicolas Merly.<br />
    <br />
    Le meilleur &eacute;v&egrave;nement Latino de la capital vous propose une soir&eacute;e sp&eacute;cial<br />
     
    avec Dj Yankee notre professeur de Salsa attitr&eacute; et DJ Krazyy r&eacute;sident au<br />
    Mix club. <br />
    <br />
    Une population majoritairement latine pourra profiter du plus gros club de<br />
    Paris !<br />
    Ambiance Latine, population latine, line up 100% g&eacute;n&eacute;raliste latino, de<br />
    belles soir&eacute;es comme vous en voyez en Espagne, au Portugal, et dans tout le<br />
     
    reste de l'Europe Latine.<br />
    <br />
    EN EXCLUSIVIDAD : Curso de Salsa en primera Parte<br />
    Gratuito para las chicas antes de las 01h 00<br />
    Offerta especial para tu cumpleano <br />
    PASS reducc&igrave;on para todos <br />
    <br />
    SON 100% LATINO : Salsa Clasica &amp;amp; Nueva Era - Merengue - Bachata -<br />
    Tropical - Reggaeton.<br />
     
    <br />
    Animacion <br />
    <br />
    Danseuses latines / Show light / canon &agrave; co2 / Sound System Surboost&eacute; /<br />
    Cocktails Latins vendus au bar / Photocall pour immortaliser les moments<br />
    les plus chauds de la soir&eacute;e<br />
    <br />
    Cumpleano <br />
     
    <br />
    Offre sp&eacute;ciale : Pour l'achat d'un magnum, nous proposons d'afficher le nom<br />
    de la personne f&ecirc;tant son anniversaire sur les &eacute;crans g&eacute;ant du club. Pour<br />
    ceux qui souhaite voir les choses en grand !<br />
    Une bouteille bulle offerte pour ton anniversaire sur pr&eacute;sentation de ta<br />
    carte d'identit&eacute; en caisse. Offre valable pour toute personne n&eacute;e en Avril<br />
     
    sur l'achat d�une bouteille de base avant 1 h !<br />
    <br />
    Precio <br />
    <br />
    - Gratuit pour les filles avant 1 heure sur pr&eacute;sentation du Pass<br />
    - 10� avec le Pass ou flyer avant 1 heure<br />
    - 20� + 1 conso sur place<br />
    - Bouteille pour 4 : 130� sur liste / 160� sur place<br />
    - Bouteille sup&eacute;rieure pour 4 &agrave; partir de 180� / 210� sur place<br />
     
    - Magnum pour 6 : 340� sur liste / 400� sur place<br />
    - Jeroboam pour 8 : 650� sur liste / 800� sur place<br />
    - Acc&egrave;s ultra VIP : minimum deux bouteilles sup&eacute;rieurs, situ&eacute; face &agrave; la<br />
    sc&egrave;ne <br />
    <br />
    Infos et r&eacute;servations listes<br />
     
    <br />
    Fab R : 06 98 68 54 69 // Gary : 06 15 01 37 96 // Chriss k : 06 66 51 28<br />
    94<br />
    <br />
    Mix Club<br />
    24 rue de l'arriv&eacute;e 75015 paris<br />
    <br />
    Metro Montparnasse<br />
    Ligne 4, 6, 12 et 13.<br />
    <br />
     
    Dress code : clubbers, chic et classe. Messieurs venez accompagn&eacute;s.<br />
    <br />
    Ev&egrave;nement interdit au moins de 18 ans. Carte d'identit&eacute; demand&eacute;, carte<br />
    bleue disponible sur place.<br />
    Parking sous la tour Montparnasse (forfait nuit &agrave; 8� sur pr&eacute;sentation de<br />
     
    votre contremarque &agrave; la caisse du club)  </div>
    </div>
    <div id="sonde">
      <div id="titresonde">Titres
      </div>
      <div id="tablesonde">
      <h4>Séléctionner vos 3 titres préférés</h4>
     
    <form name='voter' method='post' action=/db_bud/defaut.php style='margin:0px; padding:0px'><table cellspacing='0' border='0' style='padding:0px'><tr><td><input type='checkbox' name='id[]' value='1' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>dmx</b></font></td><td><font size='2' color='red'><b>party up</b></font></td><td><a href='http://www.youtube.com/watch?v=fMRXGnGrHak' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='2' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>tupac</b></font></td><td><font size='2' color='red'><b>california love</b></font></td><td><a href='http://www.youtube.com/watch?v=uWbXQQG9B6c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='3' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>3</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='3a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='4' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>4</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='4a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='5' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>5</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='5a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='6' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>6</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='6a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='7' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>7</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='7a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='8' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>8</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='8a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='9' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>9</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='9a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='10' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>10</b></font></td><td><font size='2' color='red'><b>a</b></font></td><td><a href='10a' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='11' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>1</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='1b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='12' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>2</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='2b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='13' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>3</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='3b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='14' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>4</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='4b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='15' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>5</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='5b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='16' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>6</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='6b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='17' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>7</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='7b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='18' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>8</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='8b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='19' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>9</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='9b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='20' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>10</b></font></td><td><font size='2' color='red'><b>b</b></font></td><td><a href='10b' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='21' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>1</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='1c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='22' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>2</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='2c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='23' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>3</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='3c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='24' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>4</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='4c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='25' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>5</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='5c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='26' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>6</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='6c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='27' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>7</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='7c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='28' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>8</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='8c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='29' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>9</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='9c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='30' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>10</b></font></td><td><font size='2' color='red'><b>c</b></font></td><td><a href='10c' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='31' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>1</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='1d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='32' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>2</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='2d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='33' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>3</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='3d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='34' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>4</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='4d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='35' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>5</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='5d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='36' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>6</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='6d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='37' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>7</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='7d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='38' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>8</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='8d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='39' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>9</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='9d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr><tr><td><input type='checkbox' name='id[]' value='40' style='height:17px; margin:0px; padding:0px'></td><td><font size='2' color='grey'><b>10</b></font></td><td><font size='2' color='red'><b>d</b></font></td><td><a href='10d' target='_blank'><img src='images/lecture.png' border='0' /></a></td></tr></table><div><font size='2'>E-mail : </font><input type='text' name='mail' size='25' style='height:15px; margin-top:5px; margin-bottom:5px'></div><input type='submit' value='Voter'></form>  </div>
     
    </div>
     
     </div>
      <div id="footer"></div>
    </div>
     
    </body>
    </html>
    encore merci!

  5. #5
    Modérateur

    Avatar de NoSmoking
    Homme Profil pro
    Inscrit en
    Janvier 2011
    Messages
    17 211
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2011
    Messages : 17 211
    Par défaut
    Citation Envoyé par tiboot Voir le message
    ...
    en ce qui concerne le "€" ca change rien en ISO, pour info d'ailleurs le "€" s'affiche correctement dans la base de données, c'est au moment de le recuperé que ca coince apparemment!
    cela semble être plus un problème de "codage"/"decodage" que de CSS

    La conversion de devrait te donner & #8364; ou &euro;

    coté PHP il te faudrait un header
    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <?php
    header('Content-Type: text/html; charset=UTF-8');
    ?>
    coté HTML
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    mais ça c'est fait et pour le decodage voir peut être du coté de utf8_encode

  6. #6
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut
    cela semble être plus un problème de "codage"/"decodage" que de CSS
    assez d'accord avec toi, mais en faite à la base j'avais une autre question concernant un probleme de contenu php dans un div à savoir que mon contenu depasse du div!

    bref pour ce qui est du € voici le formulaire d'envoi coté back office
    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
    <?php
     
    //parametre de la base
    include('connexion_sql.php');
    //connexion a la base
    $connect=mysql_connect($host,$login,$pass) or die ("Connection impossible");
    mysql_select_db($base,$connect) or die ("selection impossible");
     
    //upload du fly
     if(!empty($_FILES['fly']['name'])){
    	 $dir = '../admin/images/flyer/';
    	 $file = $_FILES['fly'];
    	 $filename = $file['name'];
    	 $upload = $dir.$filename;
    	 if (@move_uploaded_file($file['tmp_name'], $upload)){
    		 $fly = $filename;
    		 }
    		 else{
    			 echo"erreur lors de l'upload du flyer";
    		 }
     }
     
    //upload du pass
    if(!empty($_FILES['pass']['name'])){
    	 $dir = '../admin/images/pass/';
    	 $file = $_FILES['pass'];
    	 $filename = $file['name'];
    	 $upload = $dir.$filename;
    	 if (@move_uploaded_file($file['tmp_name'], $upload)){
    		 $pass = $filename;
    		 }
    		 else{
    			 echo"erreur lors de l'upload du pass";
    		 }
     }
     
    //upload du logo de la boite
    if(!empty($_FILES['logo']['name'])){
    	 $dir = '../admin/images/logo_club/';
    	 $file = $_FILES['logo'];
    	 $filename = $file['name'];
    	 $upload = $dir.$filename;
    	 if (@move_uploaded_file($file['tmp_name'], $upload)){
    		 $logo = $filename;
    		 }
    		 else{
    			 echo"erreur lors de l'upload du logo";
    		 }
     }
     
    if($_POST){
     
    //definition de variable
    $titre = stripslashes(html_entity_decode($_POST["titre"]));
    $lieu = stripslashes(html_entity_decode($_POST["lieu"]));
    $date = stripslashes(html_entity_decode($_POST["date"]));
    $musique = stripslashes(html_entity_decode($_POST["musique"]));
    $entree = stripslashes(html_entity_decode($_POST['entree']));
    $info = stripslashes(html_entity_decode($_POST['info']));
    $adresse = stripslashes(html_entity_decode($_POST['adresse']));
    $metro = stripslashes(html_entity_decode($_POST['metro']));
    $comm = html_entity_decode($_POST['comm']);
     
    //mis a jour de la base
    mysql_query("SET NAMES UTF8");
    $req = "UPDATE soiree SET titre='".$titre."', lieu='".$lieu."', date='".$date."', pass='".$pass."', musique='".$musique."', entree='".$entree."', info='".$info."', adresse='".$adresse."', metro='".$metro."', comm='".$comm."', fly='".$fly."', logo='".$logo."' WHERE id=1";
    mysql_query($req);
    echo"mis à jour réussi";
    }
    else{
    	echo"Erreur lors de la mis à jour";
    }
     
    //affichage des données de la base dans le formulaire
    $sql = "SELECT * FROM soiree";
    $resultat = mysql_query($sql);
    $affiche = mysql_fetch_array($resultat);
     
    mysql_close();
     
    ?>
     
    <div>
      <h3>Annonce de soirée</h3>
    </div>
    <form action="?page=annonce_soiree" method="post" enctype="multipart/form-data" name="soiree" id="soiree" >
      <table>
        <tr>
          <td>Titre de la soirée :&nbsp;</td>
          <td><input name="titre" type="text" id="titre" size="30" value="<?php echo (htmlentities(wordwrap($affiche['titre']))); ?>" /></td>
        </tr>
        <tr>
          <td>Lieu : </td>
          <td><input name="lieu" type="text" id="lieu" size="30" value="<?php echo (htmlentities(wordwrap($affiche['lieu']))); ?>" /></td>
        </tr>
        <tr>
          <td>Date : </td>
          <td><input name="date" type="text" id="date" size="30" value="<?php echo (htmlentities(wordwrap($affiche['date']))); ?>" /></td>
        </tr>
        <tr>
          <td>Pass : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo'<img src="../admin/images/pass/'.$affiche['pass'].'" width="17" height="17" align="middle" />';?></td>
          <td><input type="file" name="pass" id="pass" value="<?php echo(htmlentities(wordwrap($affiche['pass']))); ?>" /></td>
        </tr>
        <tr>
          <td>Musique :</td>
          <td><input name="musique" type="text" id="musique" size="30" maxlength="60" value="<?php echo (htmlentities(wordwrap($affiche['musique']))); ?>" /></td>
        </tr>
        <tr>
          <td>Entrée :</td>
          <td><textarea name="entree" cols="30" rows="3" id="entree"><?php echo (htmlentities(wordwrap($affiche['entree'])));?></textarea></td>
        </tr>
        <tr>
          <td>Infoline :</td>
          <td><input name="info" type="text" id="info" size="30" maxlength="10" value="<?php echo (htmlentities(wordwrap($affiche['info']))); ?>" /></td>
        </tr>
        <tr>
          <td>Adresse :</td>
          <td><textarea name="adresse" cols="30" rows="3" id="adresse"><?php echo (htmlentities(wordwrap($affiche['adresse']))); ?></textarea></td>
        </tr>
        <tr>
          <td>Métro :</td>
          <td><input name="metro" type="text" id="metro" size="30" maxlength="60" value="<?php echo (htmlentities(wordwrap($affiche['metro']))); ?>" /></td>
        </tr>
        <tr>
          <td>Description :</td>
          <td><textarea name="comm" cols="50" rows="10" id="comm"><?php echo (htmlentities(wordwrap($affiche['comm']))); ?></textarea></td>
        </tr>
        <tr>
          <td>Flyer :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo'<img src="../admin/images/flyer/'.$affiche['fly'].'" width="17" height="17" align="middle" />';?></td>
          <td><input type="file" name="fly" id="fly" value="<?php echo (htmlentities(wordwrap($affiche['fly']))); ?>" /></td>
        </tr>
        <tr>
          <td colspan="2"><input type="submit" name="envoi" id="envoi" value="Valider" /></td>
        </tr>
      </table>
    </form>
    Cette page est incluse dans un index qui lui possède un charset=utf-8, donc le header est peut etre pas necessaire??

    apres c'est peut etre le mysql_query("SET NAMES UTF8") qui est de trop, là je sais plus, ca fait qu'un mois que je fais du php y a encore pas mal de chose qui me dépasse!

  7. #7
    Modérateur

    Avatar de NoSmoking
    Homme Profil pro
    Inscrit en
    Janvier 2011
    Messages
    17 211
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2011
    Messages : 17 211
    Par défaut
    je te conseille cette lecture http://j-willette.developpez.com/tut...-site-en-utf8/, et peut être ce rapprocher du forum PHP.

  8. #8
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut
    merci pour le lien je vais aller voir ca après.

    je pense avoir résolu le problème du €, ca fait déjà un souci de moins!

  9. #9
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut
    Bon bah problème du € réglé,
    j'ai enlevé le SET NAMES UTF8 coté formulaire, j'ai mis un utf8_encode au niveau $_POST['comm'] et pour la recupérée coté front office un utf8_decode suffit, par contre dans ma table les accents et caractères spéciaux sont encodé en utf du coup. Peut etre qu'un interclassement pourrait réglé ce détails mais sinon c'est pas trop génant tant que les données s'affiche bien dans le nav tout vas bien!

    Merci à toi NoSmoking pour m'avoir mis sur la voie!

    Par contre si quelqu'un a une idée pour mes contenu qui depasse de mes div je suis toujours coincé a ce niveau là

    voici le lien pour ceux qui veulent un visuel http://www.tiboot.fr/db_bud/defaut.php

    Merci .

  10. #10
    Modérateur
    Avatar de Bisûnûrs
    Profil pro
    Développeur Web
    Inscrit en
    Janvier 2004
    Messages
    9 931
    Détails du profil
    Informations personnelles :
    Âge : 42
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Janvier 2004
    Messages : 9 931
    Par défaut
    C'est à cause de ton top:80px sur le div #comm.

    De manière plus générale, je dirais que c'est à cause de l'abus de position:absolute/relative.

    Je te conseille de lire :
    http://pbnaigeon.developpez.com/tuto...e-en-page-CSS/

  11. #11
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut
    Salut merci pour ta réponse,
    en effet sans le top:80px j'ai tout mon contenu dans le div, le hic maintenant c'est qu'il chevauche le div #fly, mais je vais regardé ton lien voir ou ca coince.

    je me doutais bien que toute les position posait problème mais dans ce cas comment faire pour que tout s'affiche comme je le désir, je vais voir ca avec ton lien.

    encore merci.

  12. #12
    Membre régulier
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2011
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Mars 2011
    Messages : 8
    Par défaut
    Salut a tous,

    Un grand merci a tous mon problème de contenu dans un div est résolu, et mon problème de footer aussi!!!

    une chose cependant me chiffonne, j'aimerai que le contenu du div #comm s'affiche autour de l'image du div#fly comme montré sur l'exemple du lien de Bisûnûrs, surement un problème de Float!

    voici le lien de la page
    http://www.tiboot.fr/db_bud/defaut.php

    merci d'avance

  13. #13
    Modérateur

    Avatar de NoSmoking
    Homme Profil pro
    Inscrit en
    Janvier 2011
    Messages
    17 211
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2011
    Messages : 17 211
    Par défaut
    à voir ce post pour ton problème
    http://www.developpez.net/forums/d10...-div-possible/

    J'avais noté également qu'il y avait beaucoup de DIV non indispensable et remplaçable par des P par exemple

Discussions similaires

  1. [osCommerce] Afficher/cacher contenu dans <div>
    Par mitiaa dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 6
    Dernier message: 04/02/2011, 19h00
  2. [DOM] Ajouter contenu dynamiquement dans div en javascript
    Par kalan dans le forum Général JavaScript
    Réponses: 5
    Dernier message: 10/11/2006, 11h06
  3. Compter le nombre d'image contenu dans un <div>
    Par denn dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 13/02/2006, 15h45
  4. [CSS] Décalage de contenu dans une div
    Par Onyx91 dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 25/01/2006, 15h27
  5. [DIV] [FireFox] Problème affichage du contenu dans un div
    Par jibouze dans le forum Balisage (X)HTML et validation W3C
    Réponses: 6
    Dernier message: 24/11/2005, 11h06

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