Bonjour,
en appelant l'url de mon site web local, l'affichage fonctionne bien comme ça : http://localhost/applicationChat/index.php

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
<?php
session_start();
$_SESSION['user'] = (isset($_GET['user'])=== true) ? (int)$_GET['user'] : 0;
?>
 
 
<!DOCTYPE html>
<html>
	<head>
		<title> Application chat</title>
		<link rel="stylesheet" href="css/styles.css"/>
	</head>
	<body>
		<div class="chat">
			<div class="messages"></div>
			<textarea class="entry"></textarea>
		</div>	
 
		<script src="http://code.jquery.com/jquery-1.9.1.min.js"> </script>
		<script src="js/chat.js" type="text/javascript"> </script>
	</body>
</html>

mais si j'ajoute un paramètre au fichier index.php http://localhost/applicationChat/index.php/?user=1
l'affichage de la zone .chat .message disparait
même après inspection de l’élément avec chrome, le bloc "Matched CSS Rules"
ne contient pas les paramètres css prédéfinies.

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
body {
	font:1em Arial;
}
 
.chat .messages {
	border:1px solid #fab;
	width:250px;
	height:210px; 
	padding:10px;
	overflow-y:scroll; 
}
 
.chat .message a {
	color:slategrey;
}
 
.chat .message p {
	margin:5px;
}
 
.chat .entry {
	width:260px;
	height:40px;
	padding:5px;
	margin-top:5px; 
	font:1em Arial;	
}
pouvez vous m'aidez svp