Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML] table w table
Wieczny
post
Post #1





Grupa: Zarejestrowani
Postów: 191
Pomógł: 1
Dołączył: 21.03.2007

Ostrzeżenie: (60%)
XXX--


Witam mam dziwny problem napisałem strukturę strony stosując table w table. Gdy sprawdzam jak wygląda strona na FF jest wszystko ładnie i pięknie a gdy na IE to wszystko jest jako jedna linia tak jak by IE ignorowało tabelki w tabelkach i uznawało to za kolejną zwykłą tabelkę link tutaj
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Wieczny
post
Post #2





Grupa: Zarejestrowani
Postów: 191
Pomógł: 1
Dołączył: 21.03.2007

Ostrzeżenie: (60%)
XXX--


co do 180 linijki nie otwarłem komórki bo jak otworze <td> to sie ryje we wszystkich przeglądarkach co do table jest tyle wszystko ma otwarcie i zamknięcie tam są tabelki w tabelach (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
a to bardziej ładny kod ;D
  1. <?php
  2. /*
  3.  ########################################################################
  4. # #
  5. #  Version 4  / /  /  #
  6. # -----------__---/__---__------__----__---/---/-  #
  7. #  | /| / /___) /  ) (_ `  /  ) /___) /  /  #
  8. # _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___  #
  9. #  Free Content / Management System  #
  10. #  / #
  11. # #
  12. # #
  13. #  Copyright 2005-2006 by webspell.org / webspell.info #
  14. # #
  15. #  visit webSPELL.org, webspell.info to get webSPELL for free  #
  16. #  - Script runs under the GNU GENERAL PUBLIC LICENCE  #
  17. #  - It's NOT allowed to remove this copyright-tag #
  18. #  -- <a href=\"http://www.fsf.org/licensing/licenses/gpl.html\" target=\"_blank\">http://www.fsf.org/licensing/licenses/gpl.html</a> #
  19. # #
  20. #  Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at),  #
  21. #  Far Development by Development Team - webspell.org / webspell.info  #
  22. # #
  23. #  visit webspell.org / webspell.info  #
  24. # #
  25.  ########################################################################
  26. */
  27. @header( "P3P: CP=CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE");
  28. include("_mysql.php");
  29. include("_settings.php");
  30. include("_functions.php");
  31. ?>
  32. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  33. <html xmlns="http://www.w3.org/1999/xhtml">
  34. <head>
  35. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
  36. <link href="css/main.css" rel="stylesheet" type="text/css" />
  37. <script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
  38. <title>played.pl - Na dobry początek!
  39. </title>
  40. </head>
  41. <body>  
  42. <table valign="top" align="left" cellspacing="0" border="0" cellpadding="0">
  43. <tr valign="top"> <td>  
  44. <img src="images2/left-site.JPG">  </td>  
  45. <td align="left">  
  46. <img src="images2/logo.JPG">  
  47. <table valign="top" bgcolor="#353638" align="left" cellspacing="0" border="0" cellpadding="0">
  48. <tr > <td>  
  49. <img src="images2/menu.jpg"> </td> <td>  
  50. <a href="index.php">
  51. <img border="0" src="images2/news.jpg"></a> </td> <td>  
  52. <a href="index.php">
  53. <img border="0" src="images2/mecze.jpg"></a> </td> <td>  
  54. <a href="index.php">
  55. <img border="0" src="images2/articuls.jpg"></a> </td> <td>  
  56. <a href="ind3.php?site=squads">
  57. <img border="0" src="images2/sq.jpg"></a> </td> <td>  
  58. <a href="index.php">
  59. <img border="0" src="images2/forum.jpg"></a> </td> <td>  
  60. <a href="index.php">
  61. <img border="0" src="images2/wywiady.jpg"></a> </td> <td>  
  62. <a href="index.php">
  63. <img border="0" src="images2/pliki.jpg"></a> </td> <td>  
  64. <a href="index.php">
  65. <img border="0" src="images2/sponsors.jpg"></a> </td> <td>  
  66. <a href="index.php">
  67. <img border="0" src="images2/historia.jpg"></a> </td> <td>  
  68. <a href="indes.php">
  69. <img border="0" src="images2/coverage.jpg"></a>  </td> <td>  
  70. <a href="index.php">
  71. <img border="0" src="images2/contact.jpg"></a> </td>  
  72. </tr>  
  73. <tr> 
  74. <table valign="top" align="left" cellspacing="0" border="0" cellpadding="0"> 
  75. <tr background="images2/bg-menu-login.jpg"> <td>  
  76. <img src="images2/logowanie.jpg"> </td> <td>
  77. <img border="0" src="images2/login.jpg"> </td> <td>
  78. <form method="post" name="login" action="checklogin.php"></td>
  79. <td class="login-box" >  
  80. <input size="15" type="text" name="ws_user" onfocus="if(this.value=='Login') this.value='';" onblur="if(this.value=='') this.value='Login';" value="Login" /> </td> <td>  
  81. <img src="images2/pass.jpg"> </td>  
  82. <td class="login-box">
  83. <input type="password" name="pwd" onfocus="if(this.value=='haslo') this.value='';" onblur="if(this.value=='') this.value='haslo';" value="haslo" /> </td> <td>  
  84. <input type="submit" class="guzik" value="Zaloguj" />  
  85. </form> </td> <td>
  86. <a href="">
  87. <img src="images2/reg-log.jpg"></a> </td> <td>
  88. <a href="">
  89. <img src="images2/re-pw.jpg"></a> </td> <td> 
  90. <img src="images2/search.jpg"> </td> <td> 
  91. <img src="images2/search-panel.jpg"> </td> 
  92. </tr>
  93. <tr ><td> 
  94. <table valign="top" align="left" cellspacing="10" border="0" cellpadding="0">
  95. <tr> 
  96. <td valign="top" >
  97. <table valign="top" align="left" cellspacing="0" border="0" cellpadding="0" bgcolor="#1B1C1E">
  98. <tr background="images2/menubg.JPG" border="1">
  99. <td height="32" width="196" >Nazwa panelu</td>
  100. </tr>
  101. <tr>
  102. <td class="hr">
  103. <?php
  104.  
  105. include("counter.php");
  106.  
  107. ?></td>
  108. </tr>
  109. </table>  </td>  
  110. <td valign="top" >
  111. <table valign="top" align="left" cellspacing="0" border="0" cellpadding="0" bgcolor="#1B1C1E">
  112. <tr background="images2/menubg.JPG" border="1">
  113. <td height="32" width="196" >Aktualnosci</td>
  114. </tr>
  115. <tr>
  116. <td class="hr">
  117. <?php 
  118.  
  119. echo $komun;
  120. if(!isset($site)) $site="news";
  121. //Sichheitsl&uuml;cke beheben
  122.  
  123. // tu cron.php
  124. include("cron.php");
  125. $invalide = array('/','//',':','.');
  126. $site = str_replace($invalide,' ',$site);
  127. if(!file_exists($site.".php")) $site = "news";
  128. include($site.".php");
  129. ?></td>
  130. </tr>
  131. </table>  </td>
  132. </tr> 
  133. </table> </td> 
  134. </tr>  
  135. </table> 
  136. </tr> 
  137. </table>  
  138. </tr>
  139. <tr> 
  140. </tr>
  141. </table>


czy jest ktoś na tym forum na tyle "normalny" żeby mi pomógł (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 7.10.2025 - 13:09