Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php] przesunieta tabela tylko pod IE
v3n0n
post
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 14.05.2007

Ostrzeżenie: (0%)
-----


Witajcie, zauważyłem dzisiaj ze jedna z moich tabeli gdy uzywam ie jest przesunieta w lewo i rozwala całą strone główna , pod mozilla i opera poprawiłem ale nadal nie moge wymyślić zeby pokazywało poprawnie tabele jedną pod drugą.

Jest już wyczerpany i poprostu coś mi uciekło

Podaje kod php bede naprawde wdzięczny za wskazówki

Pogrubiłem fragment który ucieka na lewo, gdy usunę wyrózniony kod php strona pokazuje sie poprawnie ale bez kategorii :-(

  1. <?php
  2. <div class="menu-box">
  3. {php}
  4. include("catcol.php");
  5. {/php}
  6. {include file="menu1col.tpl"}
  7. {include file="menu2col.tpl"}
  8.  
  9. </div>
  10. {if $index_catid==0} <!-- front page -->
  11. {/if}
  12. {if $special_list}
  13. <div class="containertable">
  14. <table border="0" width="100%" cellspacing="0" cellpadding="0">
  15. <tr>
  16.  <th class="title-table">{$smarty.const.LA_PREMIUM}</th>
  17. </tr>
  18. {foreach item=special from=$special_list}
  19. <tr class="special-list">
  20. <td> <span class="znaki_m">ť</span> <a href="detail.php?id={$special.s_id}">{$special.s_title}</a></td>
  21. </tr>
  22. {/foreach}
  23. </table>
  24. </div>
  25. {/if}[b]<div class="containertable">
  26. <table border="0" width="100%" cellspacing="0" cellpadding="0">
  27. <tr>
  28. <td width="100%">
  29. {if $catname}
  30. <table border="0" width="100%" cellspacing="0" cellpadding="0">
  31. <tr>
  32.  <th class="title-table">{$catname}</th>
  33. </tr>
  34. </table>
  35. {/if}
  36.  
  37. <!-- SHOW LIST -->
  38. {if !$HideLastListFp}
  39. {php}include("links.php");{/php}
  40. {/if}
  41. </td></tr></table>
  42. </div>[/b]{if $index_catid==0} <!-- front page -->
  43. <div class="containertable">
  44. {include file="index_info.tpl"}
  45. {/if}
  46. </div>
  47. ?>
Go to the top of the page
+Quote Post
gutek84
post
Post #2





Grupa: Zarejestrowani
Postów: 116
Pomógł: 4
Dołączył: 9.10.2007
Skąd: Morąg

Ostrzeżenie: (0%)
-----


wstaw 2 tabele do poszczegolnych wierszy w tabeli np.
<table>
<tr><td><table>zawartosc twojej pierwszej tabelki</table></td></tr> 
<tr><td><table>zawartosc twojej drugiej tabelki</table></td></tr>
</table>

i odpowiednio sformatuj wyswietlanie

Ten post edytował gutek84 6.12.2007, 11:14:03
Go to the top of the page
+Quote Post
v3n0n
post
Post #3





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 14.05.2007

Ostrzeżenie: (0%)
-----


Podałeś 2 razy zamknięcie </table> gdzie nie ma otwarcia dla drugiej. czy mógł byś podać gotowe rozwiązanie?

Problem tkwi w tym fragmencie
  1. <?php
  2. <div class="containertable">
  3. <table border="0" width="100%" cellspacing="0" cellpadding="0">
  4. <tr>
  5. <td width="100%">
  6. {if $catname}
  7. <table border="0" width="100%" cellspacing="0" cellpadding="0">
  8. <tr>
  9.  <th class="title-table">{$catname}</th>
  10. </tr>
  11. </table>
  12. {/if}
  13.  
  14. <!-- SHOW LIST -->
  15. {if !$HideLastListFp}
  16. {php}include("links.php");{/php}
  17. {/if}
  18. </td></tr></table>
  19. </div>{if $index_catid==0} <!-- front page -->
  20. ?>
Go to the top of the page
+Quote Post

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: 21.09.2025 - 04:48