Forum-webmaster
Technique - programmation => HTML / CSS / XHTML => Message commencé par: romain.perso le le 04-07-2008 a 08:08:23

Titre: Problème affichage html sous IE
Posté par: romain.perso le le 04-07-2008 a 08:08:23

Bonjour,
Voila, je suis en train de faire un site, je l'ai testé sous firefox et safari, il n'y a pas de problème avec l'affichage html(tableau) alors qu'avec IE (6), un des tableau semble mal se repartir.
Pourtant j'ai rentré dans les dimensions weight "100%"

Si quelqu'un pouvait m'éclairer... est ce qu'IE ne comprend pas une partie de code pourtant juste?
voila l'url
www.skasocio.fr/index00.html

Merci d'avance
Romain

Titre: Re:Problème affichage html sous IE
Posté par: Pancake le le 04-07-2008 a 09:41:26

Salut,

Faire tout le site avec des tables a la place de div :s mais bon

Explique où est le problème stp.


Pan

Titre: Re:Problème affichage html sous IE
Posté par: romain.perso le le 04-07-2008 a 10:18:32

j'ai fait le graphisme sous Photoshop et sortie pour le web vers html (je me sert de Dreamweaver) donc à ce moment là j'ai modifié quelques liens, pour une iframe, j'ai donc supprimé l'image (fond uni) qui se trouvais sur la zone centrale et j'ai inséré le tableau pour la iframe.
En fait, il y a un tableau avec une couleur de fond, et à l'intérieur de celui-ci, il y a la iframe. J'ai mis height "100%" au tableau du fond pour qu'il prenne 100% de la zone ou était insérée l'image, donc il doit se fondre dans le graphisme, et à l'intérieur l'iframe se charge.
Sous les logos, il y a une zone de couleur différente (couleur générale du fichier html) qui apparait ce qui explique qu'un tableau réagit mal..... MAis ce, seulement sous IE, sous Firefox et Safari pas de problème.

Voila, j'imagine qu'il n'y a pas de problème avec la taille du tableau concerné puisque les deux navigateurs l'affiche correctement, cependant IE réagit mal....interprete-t-il juste mal une donnée?

MErci

Titre: Re:Problème affichage html sous IE
Posté par: Pancake le le 04-07-2008 a 10:37:59

J'ai tjrs du mal a comprendre mais bon.

Une frame dans un tableau?

Il faudrait éviter d'utiliser les tables a la place de div

donne un bout de code ça irai p-e mieux et sinon suffit de cacher ton erreur ( microsoft sont doué la dedans )
-> ta bande differente, mets la à la bonne couleur

Titre: Re:Problème affichage html sous IE
Posté par: romain.perso le le 04-07-2008 a 10:41:59

yes, le problème c'est qui si j'ai mis la couleur générale de couleur différente que celle du fond du tableau centrale, c'est que le fond(image) sur les bords ne va pas jusqu'à l'extremité (sur la gauche et la droite il y a une couleur uni sans les tâches du fond) c'est pour éviter de faucheux scroll horizontal

Sinon je te mets l'intégralité du code de la page (c'est peut etre trop mai bon...)
sinon pour les div, je ne saisis pas il suffit de remplacer les div ?



CODE
<html>
<head>
<title>SKA SOCIO</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
body {
   background-color: #BF8534;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (site petit.psd) -->
<table width="1150" height="920" border="0" align="center" cellpadding="0" cellspacing="0" id="Tableau_01">
<tr>
      <td colspan="7" bgcolor="#BF8534"><div align="center">
      
       <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1149','height','270','src','header','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','header' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1149" height="270">
<param name="movie" value="header.swf">
<param name="quality" value="high">
<embed src="header.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1149" height="270"></embed>
    </object></noscript>
    </div></td>
</tr>
   <tr>
      <td rowspan="2">
         <img src="images/gauche.jpg" width="295" height="650" alt=""></td>
      <td height="100%" valign="top"><a href="bio.htm" target="page"><img src="images/bio.jpg" width="117" height="88" border="0"></a></td>
<td valign="top"><a href="photo.htm" target="page"><img src="images/photos.jpg" width="101" height="88" border="0"></a></td>
<td valign="top"><a href="media.htm" target="page"><img src="images/medias.jpg" width="115" height="88" border="0"></a></td>
<td valign="top"><a href="concert.htm" target="page"><img src="images/concerts.jpg" width="115" height="88" border="0"></a> </td>
<td valign="top"><a href="contact.htm" target="page"><img src="images/contact.jpg" width="107" height="88" border="0"></a> </td>
<td rowspan="2">
         <img src="images/droie.jpg" width="300" height="650" alt=""></td>
   </tr>
   <tr>
    <td colspan="5"><table width="100%" height="100%" border="0" bgcolor="#B67832">
<tr>
<td width="100%" height="100" valign="middle" bgcolor="#B67832"><table width="540" border="0" align="center">
<tr>
<td valign="top"><IFRAME
name=page
align=center
marginWidth=0
marginHeight=0
src=intro.htm
frameBorder=no
noResize
Width=500
Height=500> </IFRAME></td>
</tr>
</table></td>
</tr>
</table></td>
   </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>


Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.