Gros probleme d'affichage
Résolu
louis1984
Messages postés
341
Date d'inscription
Statut
Membre
Dernière intervention
-
Utilisateur anonyme -
Utilisateur anonyme -
A voir également:
- Gros probleme d'affichage
- Affichage double ecran - Guide
- Problème affichage fenêtre windows 10 - Guide
- Windows 11 affichage classique - Guide
- Thunderbird problème affichage message - Forum Thunderbird
- Problème affichage facebook ✓ - Forum Facebook
15 réponses
<div id="contenu"> <?php if ($_GET['page'] == ""){ include("brokers.php"); } else if( $_GET['page'] == brokers ){ include("brokers.php"); } else if( $_GET['page'] == tableau_brokers ){ include("brokers/tableau_brokers.php"); } else if( $_GET['page'] == activtrades ){ include("brokers/activtrades.php"); } else { include("brokers.php"); } ?>
Si je comprends bien, tu appelles la page 'brokers.php' dans la page 'brokers.php'. Du coup la page est appelée en boucle, ce qui donne ce petit problème.
Tiobet.
slt, ah ouais c pas mal non stop ca affiche le meme truc ^^
bon ben poste le fichier source ^^
car si on demande le code source de la page, ca fait pareil cela s'affiche non stop et ca fait beuguer la page ^^
bon ben poste le fichier source ^^
car si on demande le code source de la page, ca fait pareil cela s'affiche non stop et ca fait beuguer la page ^^
Bonjour!
J'ai vu le code source de ta page et je constate qu'il se répète,normal que la page s'affiche en cascade.Chez toi,le code est normal?
J'ai vu le code source de ta page et je constate qu'il se répète,normal que la page s'affiche en cascade.Chez toi,le code est normal?
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Voici le code de la page:
<html>
<head>
<link rel="stylesheet" type="text/css" href="brokers/index.css">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>Brokers</title>
<style type="text/css">
</style>
</head>
<body>
<div id="cadre">
<div id="logo">
<?php
include('squelette/logo.php')
?>
</div>
<div id="menu">
<?php
include('squelette/menu.php')
?>
</div>
<div id="colonne_gauche">
<?php
include('brokers/colonne_gauche.php')
?>
</div>
<div id="contenu">
<?php
if ($_GET['page'] == ""){
include("brokers.php");
}
else if( $_GET['page'] == brokers ){
include("brokers.php");
}
else if( $_GET['page'] == tableau_brokers ){
include("brokers/tableau_brokers.php");
}
else if( $_GET['page'] == activtrades ){
include("brokers/activtrades.php");
}
else {
include("brokers.php");
}
?>
<div id="piedpage">
<?php
include('squelette/piedpage.php')
?>
</div>
</div>
</body>
</html>
Veuillez noter que j'utilise le meme CSS que le reste du site sauf que je l'ai modifier car je supprime la colonne droite et j'ai changer les dimensions de la colonne gauche, voici le CSS de la page qui pose probleme:
@charset "utf-8";
/* CSS Document */
body {
margin: 0px;
padding: 0px;
background-color: #00FF00;
}
div#cadre {
width:1100px;
height:1100px;
background-color:#FF6699;
margin-left: 40px ;
margin-right: 40px;
margin-top: 15px;
margin-bottom: 0px;
border:#000000;
border-width: 1px;
border-style: solid;
}
div#logo {
width:1100px;
height:200px;
background-color:#99CC99;
}
div#menu {
width:1100px;
height:50px;
background-color:#FFFFFF;
}
div#colonne_gauche {
float:left;
width:200px;
height:500px;
background-color:#FFFF00;
}
div#contenu {
float:left;
width:900px;
height:500px;
background-color:#CCCC33;
}
div#piedpage {
width:1100px;
height:50px;
background-color:#9966FF;
clear:both;
vertical-align: bottom;
Et voici par exemple le CSS de la page index de mon site qui ne pose pas probleme (je sais pas si ca peut vous aider):
@charset "utf-8";
/* CSS Document */
body {
margin: 0px;
padding: 0px;
background-color: #00FF00;
}
div#cadre {
width:1100px;
height:1100px;
background-color:#FF6699;
margin-left: 40px ;
margin-right: 40px;
margin-top: 15px;
margin-bottom: 0px;
border:#000000;
border-width: 1px;
border-style: solid;
}
div#logo {
width:1100px;
height:200px;
background-color:#99CC99;
}
div#menu {
width:1100px;
height:50px;
background-color:#FFFFFF;
}
div#colonne_gauche {
float:left;
width:100px;
height:500px;
background-color:#FFFF00;
}
div#contenu {
float:left;
width:760px;
height:500px;
background-color:#CCCC33;
}
div#colonne_droite {
float: right;
text-align: right;
width: 230px;
height:500px;
background-color:#FFCCFF;
}
div#piedpage {
width:1100px;
height:50px;
background-color:#9966FF;
clear:both;
vertical-align: bottom;
/////////////////////////////// A N A L Y S E T E C H N I Q U E //////////////////////////////////////
}
div#menu_analyse_technique {
width:200px;
height:500px;
background-color:#CCCCCC;
}
div#contenu_analyse_technique {
float:left;
width:760px;
height:500px;
background-color:#CCCC33;
Merci par avance pour votre aide.
L.
<html>
<head>
<link rel="stylesheet" type="text/css" href="brokers/index.css">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>Brokers</title>
<style type="text/css">
</style>
</head>
<body>
<div id="cadre">
<div id="logo">
<?php
include('squelette/logo.php')
?>
</div>
<div id="menu">
<?php
include('squelette/menu.php')
?>
</div>
<div id="colonne_gauche">
<?php
include('brokers/colonne_gauche.php')
?>
</div>
<div id="contenu">
<?php
if ($_GET['page'] == ""){
include("brokers.php");
}
else if( $_GET['page'] == brokers ){
include("brokers.php");
}
else if( $_GET['page'] == tableau_brokers ){
include("brokers/tableau_brokers.php");
}
else if( $_GET['page'] == activtrades ){
include("brokers/activtrades.php");
}
else {
include("brokers.php");
}
?>
<div id="piedpage">
<?php
include('squelette/piedpage.php')
?>
</div>
</div>
</body>
</html>
Veuillez noter que j'utilise le meme CSS que le reste du site sauf que je l'ai modifier car je supprime la colonne droite et j'ai changer les dimensions de la colonne gauche, voici le CSS de la page qui pose probleme:
@charset "utf-8";
/* CSS Document */
body {
margin: 0px;
padding: 0px;
background-color: #00FF00;
}
div#cadre {
width:1100px;
height:1100px;
background-color:#FF6699;
margin-left: 40px ;
margin-right: 40px;
margin-top: 15px;
margin-bottom: 0px;
border:#000000;
border-width: 1px;
border-style: solid;
}
div#logo {
width:1100px;
height:200px;
background-color:#99CC99;
}
div#menu {
width:1100px;
height:50px;
background-color:#FFFFFF;
}
div#colonne_gauche {
float:left;
width:200px;
height:500px;
background-color:#FFFF00;
}
div#contenu {
float:left;
width:900px;
height:500px;
background-color:#CCCC33;
}
div#piedpage {
width:1100px;
height:50px;
background-color:#9966FF;
clear:both;
vertical-align: bottom;
Et voici par exemple le CSS de la page index de mon site qui ne pose pas probleme (je sais pas si ca peut vous aider):
@charset "utf-8";
/* CSS Document */
body {
margin: 0px;
padding: 0px;
background-color: #00FF00;
}
div#cadre {
width:1100px;
height:1100px;
background-color:#FF6699;
margin-left: 40px ;
margin-right: 40px;
margin-top: 15px;
margin-bottom: 0px;
border:#000000;
border-width: 1px;
border-style: solid;
}
div#logo {
width:1100px;
height:200px;
background-color:#99CC99;
}
div#menu {
width:1100px;
height:50px;
background-color:#FFFFFF;
}
div#colonne_gauche {
float:left;
width:100px;
height:500px;
background-color:#FFFF00;
}
div#contenu {
float:left;
width:760px;
height:500px;
background-color:#CCCC33;
}
div#colonne_droite {
float: right;
text-align: right;
width: 230px;
height:500px;
background-color:#FFCCFF;
}
div#piedpage {
width:1100px;
height:50px;
background-color:#9966FF;
clear:both;
vertical-align: bottom;
/////////////////////////////// A N A L Y S E T E C H N I Q U E //////////////////////////////////////
}
div#menu_analyse_technique {
width:200px;
height:500px;
background-color:#CCCCCC;
}
div#contenu_analyse_technique {
float:left;
width:760px;
height:500px;
background-color:#CCCC33;
Merci par avance pour votre aide.
L.
Dans broker.php il y a ca:
<html>
<head>
<link rel="stylesheet" type="text/css" href="brokers/index.css">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>Brokers</title>
<style type="text/css">
</style>
</head>
<body>
<div id="cadre">
<div id="logo">
<?php
include('squelette/logo.php')
?>
</div>
<div id="menu">
<?php
include('squelette/menu.php')
?>
</div>
<div id="colonne_gauche">
<?php
include('brokers/colonne_gauche.php')
?>
</div>
<div id="contenu">
<?php
if ($_GET['page'] == ""){
include("brokers.php");
}
else if( $_GET['page'] == brokers ){
include("brokers.php");
}
else if( $_GET['page'] == tableau_brokers ){
include("brokers/tableau_brokers.php");
}
else if( $_GET['page'] == activtrades ){
include("brokers/activtrades.php");
}
else {
include("brokers.php");
}
?>
<div id="piedpage">
<?php
include('squelette/piedpage.php')
?>
</div>
</div>
</body>
</html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="brokers/index.css">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>Brokers</title>
<style type="text/css">
</style>
</head>
<body>
<div id="cadre">
<div id="logo">
<?php
include('squelette/logo.php')
?>
</div>
<div id="menu">
<?php
include('squelette/menu.php')
?>
</div>
<div id="colonne_gauche">
<?php
include('brokers/colonne_gauche.php')
?>
</div>
<div id="contenu">
<?php
if ($_GET['page'] == ""){
include("brokers.php");
}
else if( $_GET['page'] == brokers ){
include("brokers.php");
}
else if( $_GET['page'] == tableau_brokers ){
include("brokers/tableau_brokers.php");
}
else if( $_GET['page'] == activtrades ){
include("brokers/activtrades.php");
}
else {
include("brokers.php");
}
?>
<div id="piedpage">
<?php
include('squelette/piedpage.php')
?>
</div>
</div>
</body>
</html>