Bonjour tout le monde;
J'ai un problème de positionnement des photos provenant d'une base de donnée sur ma page d’accueil;
Le problème est visible sur cette image:
Nom : acueil.png
Affichages : 367
Taille : 583,4 Ko
les publications internationales doivent être sur la même ligne horizontale et numérotation des pages en bas de la ligne mais visiblement ça s'est mis en cascade;

je voudrais mettre les images en grand format et faire défiler par animation une à une les images mais malheureusement les animations en haut de cette ligne(la photo du joueur) et à côté de la ligne(qui est ma photo) ne fonctionne pas normalement car en cliquant dessus ça n'affiche pas l’élément cliqué mais plutôt le premier élément par ordre de tri; j'ai même un post là-dessus dans la catégorie javascript qui n'est pas résolu et un autre post pour le défilement en boucle de la ligne à côté du joueur càd ma photo passeport qui n'est pas encore résolu;

voici le code html:trop de code mais il le faut
Code HTML : 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
<!doctype html>
<html lang="fr">
<head>    
        <meta charset="utf-8">
        <title>Bigtree.com</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Connexion à mon site">
        <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />
        <!-- ci-dessous notre fichier CSS -->
       <!-- *<link rel="stylesheet" type="text/css" href="/css/app.css" /> -->
          <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />
        <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lato:400,700,300" />
        <script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
        <script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>		*
********<link rel="stylesheet" href="css/font-awesome.min.css">
       <link href="css/bootstrap.css" rel="stylesheet">	
	  <title>Media Queries !</title>
      <!--  <link rel="stylesheet" media="screen" href="form-recherche.css" type="text/css" />-->	  
       <link rel="stylesheet" media="screen" href="piquemedia.css" type="text/css" />	   
 
    </head>
 
 
<body role="document">	
 
	<div class="navbar navbar-default navbar-fixed-top" role="navigation">
			<div class="container">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
						<span class="sr-only">Toggle Navigation</span>
					<!--	<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span> -->
					</button>
					<a class="navbar-brand" href="images/logo.jpg"> <img src="images/logo.jpg" alt="Logo" id="logo" /></a>	
				</div>
				<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
                        <!-- lien classic -->
                        <li>
                            <a href='acueil.php'>Accueil</a>
                        </li>						
						 <li>					   
                            <a href='Paysinfos.php'>Pays infos</a>
                        </li>
						<li>
                            <a href='blog.php'>Bloger</a>
                        </li>
												<li>
                            <a href='piquemediaemplois.php'>Emplois</a>
                        </li>
 
                    </ul>
 
						<ul class="nav navbar-nav navbar-midle">
 
 
						    <!-- Menu déroulant -->
                       <li class="dropdown">
                            <a class="dropdown-toggle" aria-expanded="false" aria-haspopup="true" role="button" data-toggle="dropdown" href='publication_reçu.php'>
                                <!-- Premier niveau -->
                                <i class="fa fa-envelope"> Actualités(</i> <span>) </span></a>
                            <!-- Sous niveaux -->
                            <ul class="dropdown-menu">
							    <li>
                                   <a href='Nationale.php'>Nationale</a>
                               </li>
						       <li>
                                    <a href='Internationale.php'>Internationale</a>
                               </li>
						       <li>
 
                            </ul>
                        </li>
					</ul>
 
					<ul class="nav navbar-nav navbar-right">
 
 
						    <!-- Menu déroulant -->
                       <li class="dropdown">
                            <a class="dropdown-toggle" aria-expanded="false" aria-haspopup="true" role="button" data-toggle="dropdown" href='inbox.php'>
                                <!-- Premier niveau -->
                                <i class="fa fa-envelope"> Boîte de réception(</i><span>) </span></a>
                            <!-- Sous niveaux -->
                            <ul class="dropdown-menu">
                                <li>
                                    <a href='inbox.php'>Voir mes messages recus</a>
                                </li>
                                <li>
                                    <a href="wrotemsg.php">Voir mes  messages envoyés</a>
                                </li>
								<li>
								<a href="contacte.html">Contact</a>
								</li>
                            </ul>
                        </li>
					</ul>
				</div>
			</div>
		</div>
		<div class="row"> 
		<div id="line">
          BIENVENUE
	     </div> 
	<header class="col-xs-12 col-sm-12 col-md-3 col-lg-3 light-yellow1">  
 
	<?php 
      require 'db.php';
      $req3 = $db->query('SELECT  COUNT(*) As t  FROM photocadre');
      $donnees=$req3->fetch();
      $t=$donnees['t'];      
      if($t!=0){
          $req3 = $db->query('SELECT*  FROM photocadre');
          $donnees=$req3->fetch();
            ?>
		<?php echo "<a href='images/cadre/".$donnees['idphotocadre' ]."_".$donnees['photocadre']."'>
          <img src='images/cadreminiature/". $donnees['idphotocadre']."_".$donnees['photocadre']."'></a>" ;               
          };
         ?> 
 
      <div class="pub-internationale">	           
		<div id="slideShowImages">
            <?php
             include('clicpubliciteinternationale.php');
                 ?>
        </div>  
 
        </div>		
 
    </header>	
	 </div> 
	<div class="row"> 
    <section class="col-xs-12 col-sm-12 col-md-3 col-lg-3 light-yellow2" >  
   	   <?php
       include('clicpublicite.php');
           ?>
	</section>	
	<div id="envelope">	
	    <div class="ligne">
          Internationale
	     </div> 
	<article class="col-xs-12 col-sm-12 col-md-9 col-lg-9 light-yellow3">*****   **	
             <?php
             include('showpupinternationale.php');
                  ?>	
    </article>	
	<div class="ligne2">
          Nationale
	     </div> 
     <aside class="col-xs-12 col-sm-12 col-md-9 col-lg-9 light-yellow4">	
		    <?php
             include('showpublication.php');
                  ?>	
    </aside>	
     </div>		*****	*****
	<nav class="col-xs-12 col-sm-12 col-md-12 col-lg-12 light-yellow5">	 * ***
            <?php
             include('affichenationale.php');
                  ?>
	 </nav>
 
       </div>
 
 
<footer>
	<ul>
	<li><a href="login.php">Option d'administration</a></li>			
	</ul>		
</footer><!-- Premier niveau -->
  <!--<script src="js/essaianimation.js"></script>-->
  <script src="slideShow.js"></script>
   <script src="slideShow1.js"></script>
	<script src="slideShow2.js"></script>		
</body>
</html>
showpupinternationnale.php:
Code PHP : 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
<?php
 require 'db.php';
 require 'dbcopie.php';
 require_once 'geoloc/geoipcity.inc';
require_once 'geoloc/geoipregionvars.php';
$gi = geoip_open(realpath("geoloc/GeoLiteCity.dat"),GEOIP_STANDARD);
$record = geoip_record_by_addr($gi,$_SERVER['REMOTE_ADDR']);
/*var_dump($record);*/
if($record==null){
$country='pays inconnu';
$region='region inconnu';
$city='ville inconnu';
}
else{
$county=$record->country_name . "\n";
$region=$GEOIP_REGION_NAME[$record->country_code][$record->region] . "\n";
$city=$record->city . "\n";
$codepostal=$record->postal_code . "\n";
$latitude=$record->latitude . "\n";
$longitude=$record->longitude . "\n";
}
geoip_close($gi);
 
 
$dateactuelle=date("Y-m-d H:i:s");
$date2=strtotime($dateactuelle);
$pays='Guinea';
$typepublication='internationale';
 
$bdd = new PDO('mysql:host=localhost;dbname=celerite', 'root', '',array(PDO::ATTR_ERRMODE=>PDO::ERRMODE_EXCEPTION));
 
//variable à definir
 $ArticleParPage=10;
 //article dans la table forum
 $req = $bdd->query('SELECT COUNT(*) AS total FROM publication WHERE payspublication="'.$pays.'"AND typepublication="'.$typepublication.'"');
 $donnees=$req->fetch();
 $total=$donnees['total'];
 //compter le nombre de page créer
 $nbDepages=ceil($total/$ArticleParPage);
 $PageActuelle=1;
 //changer de page par urldecode
 if(isset($_GET['page'])AND !empty($_GET['page'])) {
 $PageActuelle=intval($_GET['page']);
 //en cas de page non existante ou non renseignée
 if($PageActuelle>$nbDepages){
 $PageActuelle=$nbDepages;
 }
 }
 $Article1erARecup=($PageActuelle-1)*$ArticleParPage;
 //variable à definir
 $ArticleParPage=3;
 //article dans la table forum
 //$req_articles = 'SELECT* FROM publication ORDER BY codepubli DESC LIMIT '.$Article1erARecup.','.$ArticleParPage.'';
 
$req1 = $bdd->query('SELECT* FROM publication WHERE payspublication="'.$pays.'"AND typepublication="'.$typepublication.'" ORDER BY codepubli DESC LIMIT '.$Article1erARecup.','.$ArticleParPage.'');
 
		  while ($donnees = $req1->fetch())	         
         {  
		 $datedebut=$donnees['datepubli'];
		 $datedebut1=strtotime($datedebut);
		 $fin_abonnement=$date2-$datedebut1;
		  // ** Pour convertir le timestamp (exprimé en secondes) en jours **
          // On sait que 1 heure = 60 secondes * 60 minutes et que 1 jour = 24 heures donc :
          $nbJours = $fin_abonnement/86400; // 86 400 = 60*60*24
		   if(($nbJours > $donnees['nbjour'])AND($donnees['etatpublication']='actif')) 
		 {  
		 $bdd->exec("UPDATE publication SET etatpublication='inactif' WHERE codepubli='".$donnees['codepubli']."'");     
		 }else{  
       	 ?>
	  <br/> 
 <div class="col col-lg col-md col-sm light-yellow6"> 
  <?php echo '<a href="piquemediainterna.php?getid='.$donnees['codepubli'].'"><img src="images/video/'.$donnees['codepubli'].'_'.$donnees['video'].'"/></a>' ;?>
 <br/>
   <?php echo $donnees['titre' ]?> 
 <br/>
   <?php echo $donnees['datepubli' ]?> 
 </div> 
 <br/>
  	  <?php 
	  }
	   };
	   //affichage des pages
  echo'Page:<br/>';
  for($i=1;$i<=$nbDepages;$i++)
  {
  //differenciation de page actuelle et page accessible
  if($i==$PageActuelle)
  {
  echo '<strong>['.$i.']</strong>';  
  }else
  {
  echo '<a href="?page='.$i.'">'.$i.'</a>';
  }
  }
	    ?>
voici le code css:
Code CSS : 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
@charset "UTF-8";
/* CSS Document */
@font-face { /* Définition d'une nouvelle police nommée CAC Champagne */
    font-family: 'cac_champagneregular';
    src: url('cac_champagne-webfont.eot');
    src: url('cac_champagne-webfont.eot?#iefix') format('embedded-opentype'),
         url('cac_champagne-webfont.woff') format('woff'),
         url('cac_champagne-webfont.ttf') format('truetype'),
         url('cac_champagne-webfont.svg#cac_champagneregular') format('svg');
}
@font-face { /* Définition d'une nouvelle police nommée CAC Champagne */
    font-family: 'AbhayaLibre-Regular-webfont';
    src: url('AbhayaLibre-Regular-webfont.eot');
    src: url('AbhayaLibre-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('AbhayaLibre-Regular-webfont.woff') format('woff'),
         url('AbhayaLibre-Regular-webfont.ttf') format('truetype'),
         url('AbhayaLibre-Regular-webfont.svg#AbhayaLibre-Regular-webfont') format('svg');
}
@font-face { /* Définition d'une nouvelle police nommée CAC Champagne */
    font-family: 'AbhayaLibre-Bold-webfont';
    src: url('AbhayaLibre-Bold-webfont.eot');
    src: url('AbhayaLibre-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('AbhayaLibre-Bold-webfont.woff') format('woff'),
         url('AbhayaLibre-Bold-webfont.ttf') format('truetype'),
         url('AbhayaLibre-Bold-webfont.svg#AbhayaLibre-Bold-webfont') format('svg');
}
 
 
body {
	font-family: arial, san-serif;
	margin: auto;
	/*background-color:#6f232b ;*/
	/*background-color:#FFFFFF; blanc
	#ddd;
	#FF6666;/rouge/
	#00CCFF;/bleu ciel/
	#0099FF;/bleu ciel/
	#66CC99;/vert/
	#CC9999;/maron bizare/
	#0033FF;
	#CC3366;/violet/
	#CC66CC;/violet/
	#FF9933;/orange/	
	*/
	/*background-color: #0d8b73;*/
	/*background-color: #CCC;*/
	background-color:#efefef;
 
}
 
    /* Toutes les cellules des tableaux... */
.navbar {
  background-color: blue;  	
}
 
   .navbar {
   /*position:fixed-top;*/
   height:100px;	
	display:inline-block;
	padding-top:0px;
	}
/*
.navbar-right {
	margin-left:20px;
}*/
.navbar-brand {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
}
 
.navbar-header, .navbar-brand {
	color: white;
}
 
.navbar-default ,.dropdown, .navbar-nav > li > a {    
	color: white;
	font-weight: 700;
	font-size:18px;
}
 
.navbar-default, .navbar-nav > li > a:hover {
	color: rgba(172, 186, 191, 0.82);
 
}
 
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: rgba(172, 186, 191, 0.82);
	background: transparent;
}
 
.navbar-default {
background-color:blue;
display:inline;		
border-color: transparent;
} 
 
  .navbar-brand img{
	max-width: 50px;
	height:75px;
	display: inline-block;
	border:2px solid red;
	border-radius:10px;
	margin-top:0px;
	}
 
 
	 #line{
display:inline-block;
border:1px solid red;
border-radius:10px;
width:100%;
height:30px;
background-color: #f1474c;
text-decoration: none;
color: #FFF;
text-align:center;
margin-top:80px;
	}
 
	.light-yellow1{
display:inline-block;
border:1px solid red;
border-radius:10px;
width:100%;
height:100px; 
margin-left:0px;
padding-left:20px;
padding-right:0px;
  }
  	.light-yellow1 img{
display:inline-block;
width:100px;
height:95px; 
  }
 
 .pub-internationale {
display:inline-block;
border:2px solid white;
width:600px;
height:98px;  
position:relative;
float:right;
  }
 
 
 .light-yellow2{
 display:inline-block;
border:1px solid white;
border-radius:10px;
width:210px;
margin-left:10px;
float:left;
background-color:#FFFFFF;/*blanc*/
position:fixed;
padding:0px;
  }
 
#envelope{
display:inline-block;
border:1px solid white;
width:700px;
/*margin-top:230px;*/
margin-left:240px;
margin-bottom:5px;
  }
  #envelope2{
display:inline-block;
border:1px solid white;
width:700px;
/*margin-top:230px;*/
margin-right:240px;
margin-bottom:5px;
  }
.light-yellow3{
border:1px solid white;
border-radius:10px;
width:700px;
background-color:#FFFFFF;/*blanc*/
 
  }
 .light-yellow31{
border:1px solid white;
border-radius:10px;
width:700px;
background-color:#FFFFFF;/*blanc*/
 
  }
  .light-yellow3  img{
display:inline-block;
border:20px solid #efefef;
border-radius:10px;
width:170px;
height:150px; 
margin-left:5px;
position:relative;
  }
 .light-yellow31  img{
display:inline-block;
border:20px solid #efefef;
border-radius:10px;
margin-left:5px;
position:relative;
  }
   .ligne{
display:inline-block;
border:1px solid red;
border-radius:10px;
width:50%;
height:30px;
background-color: blue;
text-decoration: none;
color: #FFF;
text-align:center;
margin-left:150px;
	}
	.ligne2{
display:inline-block;
border:1px solid red;
border-radius:10px;
width:30%;
height:30px;
background-color:blue;
text-decoration: none;
color: #FFF;
text-align:center;
margin-left:200px;
	}
 
 .light-yellow4{
border:1px solid white;
border-radius:10px;
width:700px;
background-color:#FFFFFF;/*blanc*/
  }
 .light-yellow41{
border:1px solid white;
border-radius:10px;
width:700px;
background-color:#FFFFFF;/*blanc*/
  }
  .light-yellow4 img{
display:inline-block;
border:50px solid #efefef;
border-radius:10px;
width:600px;
height:500px; 
margin-left:30px;
  }
 .light-yellow41 img{
display:inline-block;
border:50px solid #efefef;
border-radius:10px;
margin-left:30px;
  }
  #slideShowImages{
display:inline-block;
border:2px solid white;
width:600px;
height:95px; 
margin-right:0px;
  }
  #slideShowImages1{
display:inline-block;
border:2px solid white;
border-radius:10px;
width:190px;
height:400px; 
margin-top:0px;
margin-left:7px;
margin-bottom:10px;
  }
 
 .light-yellow5{
 display:inline-block;
border:1px solid white;
border-radius:10px;
width:280px;
float:right;
margin-right:10px;
margin-bottom:5px;
background-color:#FFFFFF;/*blanc*/
 
 
}
.light-yellow5 img{
display:inline-block;
border:20px solid #efefef;
border-radius:10px;
width:230px;
height:180px; 
margin-left:5px;
  }
 
 /* .light-yellow6{
float:right;
  }*/
  .photo {	
	display: inline-block;
	margin-top:0px;
 
	}
	.photo img{
	width: 80px;
	height:80px;
	display: inline-block;
	border:2px solid red;
	border-radius:10px;
	margin-top:0px;
	position:relative;
	float:right;
	}
   .encadrer img{
	width: 50px;
	height:50px;
	display: inline-block;
	border:2px solid red;
	border-radius:10px;
	margin-top:0px;
 
	}
  .light-yellow6 {
	margin-top:0px;
	position:relative;
	float:right;
	}
	  .light-yellow6  img{
   display: inline-block;
	border:2px solid red;
	border-radius:10px;
	width: 80px;
	height:80px;
	margin-top:0px;
		}
.nbconnectes{	
display: inline-block	;
margin-top:15px;
	}
 
/* .pub-internationale  img{
display:inline-block;
border:2px solid red;
border-radius:10px;
width:200px;
height:20px; 
  }*/
 
footer{
display:inline-block;
width:100%;
height:100px;
background-color: #f1474c;
text-decoration: none;
color: #FFF;
	}
 
 
@media (max-width: 400px) {
	video.fullscreen {
		display: none;
	}
 
}
la partie relative à la ligne:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
.light-yellow6 {
    margin-top:0px;
    position:relative;
    float:right;
    }
      .light-yellow6  img{
   display: inline-block;
    border:2px solid red;
    border-radius:10px;
    width: 80px;
    height:80px;
    margin-top:0px;
        }
il y a un autre problème, c'est à dire le bootstrap ne prend pas actuellement alors que la semaine passée, ça fonctionnait 5/5; donc parfois ça marche et parfois ça ne marche pas.

merci d'avance!