login  Naam:   Wachtwoord: 
Registreer je!
 Forum

IE zorgt voor problemen ...

Offline Tibbeh - 11/09/2005 17:40 (laatste wijziging 11/09/2005 17:43)
Avatar van TibbehLid Yoe,
Ik heb nu pas gemerkt dat IE problemen geeft voor Http://www.games4you.be ,
hij verkloot eigenlijk heel mijn layout,

Ik zou echt niet weten hoe het komt,
Met firefox wordt hij prima weergegeven ...

Source(100% zelf gemaakt):
  1. <?
  2.  
  3. include( 'up.php' );
  4. include( 'config.php' );
  5.  
  6. $text = '<p align="center">'
  7. .'<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="775">'
  8. .'<tr>';
  9.  
  10. $res = mysql_query( 'SELECT c.column_id,c.name as cat_name,g.id,g.name FROM gm_games g LEFT JOIN gm_cat c ON c.id=g.cat WHERE c.id IS NOT NULL ORDER BY c.name,g.views DESC' );
  11. $cats = array();
  12. while( $row = mysql_fetch_assoc($res) )
  13. {
  14. $cats[ intval($row['column_id']) ][ $row['cat_name'] ][ $row['id'] ] = $row[ 'name'];
  15. }
  16.  
  17. for( $i = 0; $i < count($cats); $i++ )
  18. {
  19. $text .= '<td width="25%" valign="top">';
  20.  
  21.  
  22. if($i == 0)
  23. {
  24. $text .='<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="180">'
  25. .'<tr>'
  26. .'<td width=8 height="18"><img border="0" src="images/games4youlayout_12.png" width="8" height="18" alt="games" /></td>'
  27. .'<td width=163 background="images/games4youlayout_13.png" height="18" alt="fun" ><p align="center"><font face="Verdana" size="2" color="#FFFFFF">Partners</font></td>'
  28. .'<td width=9 height="18"><img border="0" src="images/games4youlayout_15.png" width="9" height="18" alt="sex "/></td>'
  29. .'</tr>'
  30. .'<tr>'
  31. .'<td height="5" valign="top"><img border="0" src="images/games4youlayout_60.png" width="8" height="5" alt="spelletjes" /></td>'
  32. .'<td height="5" valign="top"><img border="0" src="images/games4youlayout_61.png" width="164" height="5" alt="games" /></td>'
  33. .'<td height="5" valign="top"><img border="0" src="images/games4youlayout_62.png" width="8" height="5" alt="gratis" /></td>'
  34. .'</tr>'
  35. .'<tr>'
  36. .'<td valign="top" height="100%"><img border="0" src="images/games4youlayout_63.png" width=8 height="100%" alt="games4you" /></td>'
  37. .'<td valign="top" background="images/games4youlayout_64.png" width=164 height="100%">';
  38.  
  39. $lijst_select = "SELECT * FROM gm_partners ORDER BY inuniek DESC";
  40. $lijst_query = mysql_query($lijst_select);
  41. $lijst_bestaat = mysql_num_rows($lijst_query);
  42.  
  43. if($lijst_bestaat == 0)
  44. {
  45. $text .='<a class=games href="partners.php">Partner worden?</a><br>'
  46. .'<a class=games href="partners.php">Partner worden?</a><br>'
  47. .'<a class=games href="partners.php">Partner worden?</a><br>'
  48. .'<a class=games href="partners.php">Partner worden?</a><br>'
  49. .'<a class=games href="partners.php">Partner worden?</a><br>';
  50. }
  51. else
  52. {
  53. while($lijst = mysql_fetch_object($lijst_query))
  54. {
  55. $text .='<a class=games href="uit.php?id='.$lijst->id.'" target="_new">'.$lijst->naam.'</a><br>';
  56. }
  57. }
  58.  
  59. $text .='<p align="center"><a href="uit.php?id=3" target="_new"><img border="0" src="gamestop.gif" width="120" height="60" alt="gametop" /></a></p><td valign="top" height="100%">'
  60. .'<img border="0" src="images/games4youlayout_66.png" width="9" height="100%" alt="start" /></td>'
  61. .'</tr>'
  62. .'<tr>'
  63. .'<td valign="top"><img border="0" src="images/games4youlayout_68.png" width="8" height="6" alt="sexgames" /></td>'
  64. .'<td valign="top" background="images/games4youlayout_69.png"></td>'
  65. .'<td valign="top"><img border="0" src="images/games4youlayout_71.png" width="9" height="6" alt="free" /></td>'
  66. .'</tr>'
  67. .'</table>';
  68. }
  69. foreach( $cats[$i] as $cat_name => $games )
  70. {
  71. if($i == 0)
  72. {
  73. $text .='<p align="left">';
  74. }
  75. if($i == 1)
  76. {
  77. $text .='<p align="center">';
  78. }
  79. if($i == 2)
  80. {
  81. $text .='<p align="center">';
  82. }
  83. if($i == 3)
  84. {
  85. $text .='<p align="right">';
  86. }
  87. $text .= '<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="180">'
  88. .'<tr>'
  89. .'<td width=8 height="18"><img border="0" src="images/games4youlayout_12.png" width="8" height="18" alt="gratis spelletjes" /></td>'
  90. .'<td width=163 background="images/games4youlayout_13.png" height="18" alt="op games4you"><p align="center"><font face="Verdana" size="2" color="#FFFFFF">'.$cat_name.'</font></td>'
  91. .'<td width=9 height="18"><img border="0" src="images/games4youlayout_15.png" width="9" height="18" alt="actie" /></td>'
  92. .'</tr>'
  93. .'<tr>'
  94. .'<td height="5" valign="top"><img border="0" src="images/games4youlayout_60.png" width="8" height="5" alt="sponge bob"/></td>'
  95. .'<td height="5" valign="top"><img border="0" src="images/games4youlayout_61.png" width="164" height="5" alt="bob de bouwer"/></td>'
  96. .'<td height="5" valign="top"><img border="0" src="images/games4youlayout_62.png" width="8" height="5" alt="pacman "/></td>'
  97. .'</tr>'
  98. .'<tr>'
  99. .'<td valign="top" height="100%"><img border="0" src="images/games4youlayout_63.png" width=8 height="100%" alt="allemaal gratis" /></td>'
  100. .'<td valign="top" background="images/games4youlayout_64.png" width=164 height="100%">';
  101.  
  102. foreach( $games as $id => $name )
  103. {
  104. $text .= '<a class=games href="/speel.php?game='.$id.'">'.$name.'</a><br />';
  105. }
  106.  
  107. $text .= '</td>'
  108. .'<td valign="top" height="100%">'
  109. .'<img border="0" src="images/games4youlayout_66.png" width="9" height="100%" alt="kom snel"/></td>'
  110. .'</tr>'
  111. .'<tr>'
  112. .'<td valign="top"><img border="0" src="images/games4youlayout_68.png" width="8" height="6" alt="naar deze"/></td>'
  113. .'<td valign="top" background="images/games4youlayout_69.png"></td>'
  114. .'<td valign="top"><img border="0" src="images/games4youlayout_71.png" width="9" height="6" alt="suppercoole website" /></td>'
  115. .'</tr>'
  116. .'</table>';
  117. }
  118.  
  119. $text .= '</td>';
  120. }
  121.  
  122.  
  123. echo $text;
  124.  
  125. echo '<p align="center"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="775" id="AutoNumber1">
  126. <tr>
  127. <td width="100%" align="center">
  128. <script src="http://www.ringtonio.nl/logo/?rtlo=23525&rthide2=1&rthide4=1&rttype=9&rtcols=7&rtcat=58&rtrows=2"></script></td>
  129. </tr>
  130. </table></p>';
  131.  
  132. include('down.php');
  133.  
  134. ?>


Kan iemand me de oplossing geven ?
Grtz 

6 antwoorden

Gesponsorde links
Offline Janus - 11/09/2005 18:28
Avatar van Janus Nieuw lid Ik zie geen verschil??? Hijs bij mij in FF en IE allebei niet in orde. Bovenin bij het menu.
Offline Ultimatum - 11/09/2005 18:38
Avatar van Ultimatum PHP expert bij ff laat hij de borders rechts en links in de content wel zien en in ie niet, let daar mar us op 
Offline Tibbeh - 11/09/2005 18:47
Avatar van Tibbeh Lid Ja dat is het probleem ...
Iemand oplosing?
Offline Ultimatum - 11/09/2005 19:36
Avatar van Ultimatum PHP expert over welke afbeelding(en) heb je ut dan, want kan zo nie herkenen welke hetzijn

zet gwoon de naam neer please 
Offline Tibbeh - 12/09/2005 07:43
Avatar van Tibbeh Lid Ik heb het nu opgelost,
De borders waren afbeeldingen, bij IE wouden die niet met height=100% werken dus heb ik nu alles met tabellen weggewerkt.
Offline Ultimatum - 12/09/2005 07:59
Avatar van Ultimatum PHP expert je kon dan ook in je css zette
background-repeat: repeat-y;

dat wil ook werke 
Gesponsorde links
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.216s