Tableaux Hauteur cellule Internet Explorer
shel
-
shel -
shel -
Bonjour,
J'ai un problème que je n'arrive pas à résoudre sur mon portail web.
La hauteurs de mes lignes sur Internet Explorer est surprenante. Sous Firefox et Chrome j'ai un affichage cohérent.
2 impression d'écran seront bien plus parlant qu'un long discours.
IE:
http://www.hostingpics.net/viewer.php?id=454557IEtableaux.png
FF:
http://www.hostingpics.net/viewer.php?id=632796FFtableaux.png
Voila le bout de code qui crée mon tableau:
Et voila le CSS associé :
Je m'arrache les cheveux sur se problème d'affichage depuis déjà longtemps. Je laisse souvent tomber après plusieurs jours de travail infructueux pour m'y remette plus tard.
Auriez vous une idée d'ou le problème serait susceptible de venir ?
Pour tous ceux qui aurait le temps de se pencher sur mon problème, un grand merci d'avance.
Cordialement
J'ai un problème que je n'arrive pas à résoudre sur mon portail web.
La hauteurs de mes lignes sur Internet Explorer est surprenante. Sous Firefox et Chrome j'ai un affichage cohérent.
2 impression d'écran seront bien plus parlant qu'un long discours.
IE:
http://www.hostingpics.net/viewer.php?id=454557IEtableaux.png
FF:
http://www.hostingpics.net/viewer.php?id=632796FFtableaux.png
Voila le bout de code qui crée mon tableau:
echo ('<div id="conteneur_target_tab_header">');
echo ('<TABLE BORDER="1" class="scrollTable" style="table-layout:fixed">');
echo ('<thead class="fixedHeader" >');
echo ('<TH style="width:300px;">'); echo ('<div style="width:300px;font-size: 13px;">'); echo('Table cible') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:200px";>'); echo ('<div style="width:200px;font-size: 13px;">'); echo('Base cible') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:200px";>'); echo ('<div style="width:200px;font-size: 13px;">'); echo('Propriétaire cible') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:400px";>'); echo ('<div style="width:400px;font-size: 13px;">'); echo('Nom de la table') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:400px;">'); echo ('<div style="width:400px;font-size: 13px;">'); echo('Définition') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:300px;">'); echo ('<div style="width:300px;font-size: 13px;">'); echo('Domaine') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:300px;">'); echo ('<div style="width:300px;font-size: 13px;">'); echo('Fréquence') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:300px;">'); echo ('<div style="width:300px;font-size: 13px;">'); echo('Historique') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:100px;">'); echo ('<div style="width:100px;font-size: 13px;">'); echo('Status') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:1000px;">'); echo ('<div style="width:1000px;font-size: 13px;">'); echo('Commantaire') ; echo('</div>'); echo('</TH>');
echo ('<TH style="width:800px;">'); echo ('<div style="width:800px;font-size: 13px;">'); echo('Source détails') ; echo('</div>'); echo('</TH>');
echo ('</thead>');
echo ('</TABLE>');
echo ('</div>');
echo ('<div id="conteneur_target_tab_scrollcontent">');
echo ('<TABLE BORDER="1" class="scrollTable" >');
echo ('<tbody class="scrollContent_target_tab">');
if (!$connexion_COZWMT) { // verification de la connexion a la Bdd
?> <script type="text/javascript">
//window.location.replace("index.php");
alert('Erreur de connexion à la Base de données.');
</script>
<?php
;}
else {
for ($i=1;$i<$nbr_ligne+1;$i++) {
odbc_fetch_into ($resource_dico_target_tab, $result_array_2, $i );
$txt_dico_target_table_code = $result_array_2{0} ;
$txt_dico_target_base_code = $result_array_2{1} ;
$txt_dico_target_table_name = $result_array_2{2} ;
$txt_dico_target_table_definition = $result_array_2{3} ;
$txt_domain = $result_array_2{4} ;
$txt_refresh_frequency = $result_array_2{5} ;
$txt_historic_depth = $result_array_2{6} ;
$txt_status = $result_array_2{7} ;
$txt_status = str_replace(' ','',$txt_status);
$txt_comments = $result_array_2{8} ;
$txt_sourc_detail = $result_array_2{9} ;
$txt_target_owner = $result_array_2{10} ;
echo ('<TR>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:300px;">'); } else {echo ('<TD style="width:300px;">'); }; echo ('<div style="font-size: 13px;width:300px;">'); echo('<a href="javascript:void(0)" title="Vue-Cascade" onclick="redirection('."'".$txt_dico_target_table_code.";".$txt_target_owner."'".')" > '.$txt_dico_target_table_code.'</a>' ) ; if ($admin =='administrateur') {echo(' <img src="images/document-modifier.png" title="Modifier" onclick="redirection_target_tab_modification( '."'".$txt_dico_target_table_code.";".$txt_target_owner.";".$txt_dico_target_base_code."'".' )" >' ) ; }; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:200px;">'); } else {echo ('<TD style="width:200px;">'); }; echo ('<div style="font-size: 13px;width:200px;">'); echo($txt_dico_target_base_code) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:200px;">'); } else {echo ('<TD style="width:200px;">'); }; echo ('<div style="font-size: 13px;width:200px;">'); echo($txt_target_owner) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:400px;">'); } else {echo ('<TD style="width:400px;">'); }; echo ('<div style="font-size: 13px;width:400px;">'); echo($txt_dico_target_table_name) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:400px;">'); } else {echo ('<TD style="width:400px;">'); }; echo ('<div style="font-size: 13px;width:400px;">'); echo($txt_dico_target_table_definition) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:300px;">'); } else {echo ('<TD style="width:300px;">'); }; echo ('<div style="font-size: 13px;width:300px;">'); echo($txt_domain) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:300px;">'); } else {echo ('<TD style="width:300px;">'); }; echo ('<div style="font-size: 13px;width:300px;">'); echo($txt_refresh_frequency) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:300px;">'); } else {echo ('<TD style="width:300px;">'); }; echo ('<div style="font-size: 13px;width:300px;">'); echo($txt_historic_depth) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:100px;">'); } else {echo ('<TD style="width:100px;">'); }; echo ('<div style="font-size: 13px;width:100px;">'); echo($txt_status) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:1000px;">');} else {echo ('<TD style="width:1000px;">'); }; echo ('<div style="font-size: 13px;width:1000px;">'); echo($txt_comments) ; echo('</div>'); echo('</TD>');
if ($i%2==1) { echo ('<TD style="background-color:#e7e7e7;style="width:800px;">'); } else {echo ('<TD style="width:800px;">'); }; echo ('<div style="font-size: 13px;width:800px;">'); echo($txt_sourc_detail) ; echo('</div>'); echo('</TD>');
echo ('</TR>');
};
};
echo ('</tbody>');
echo ('</TABLE>');
echo ('</div>');
Et voila le CSS associé :
/* Div conteneur_target_tab */
div#conteneur_target_tab_header{
display: block;
width: 4430px;
overflow-x:visible;
overflow-y:auto;
}
div#conteneur_target_tab_scrollcontent{
display: block;
width: 4430px;
height: 680px;
overflow-x:visible;
overflow-y:auto;
}
/* scrollContent_target_tab */
html>body tbody.scrollContent_target_tab {
display: block;
height: 650px;
overflow-x:hidden;
overflow-y:auto;
width: 4430px
}
tbody.scrollContent_target_tab td, tbody.scrollContent_target_tab tr.normalRow td {
background: #FFF;
border-bottom: none;
border-left: none;
border-right: 1px solid #CCC;
border-top: 1px solid #DDD;
padding: 2px 3px 3px 4px
}
tbody.scrollContent_target_tab tr.alternateRow td {
background: #EEE;
border-bottom: none;
border-left: none;
border-right: 1px solid #CCC;
border-top: 1px solid #DDD;
padding: 2px 3px 3px 4px
}
Je m'arrache les cheveux sur se problème d'affichage depuis déjà longtemps. Je laisse souvent tomber après plusieurs jours de travail infructueux pour m'y remette plus tard.
Auriez vous une idée d'ou le problème serait susceptible de venir ?
Pour tous ceux qui aurait le temps de se pencher sur mon problème, un grand merci d'avance.
Cordialement
A voir également:
- Tableaux Hauteur cellule Internet Explorer
- Internet explorer - Guide
- Internet explorer 11 - Télécharger - Navigateurs
- Internet explorer 8 - Télécharger - Navigateurs
- Internet explorer 10 - Télécharger - Navigateurs
- Explorer patcher - Télécharger - Personnalisation