Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: php ramki
Forum PHP.pl > Forum > Przedszkole
darecznik
siema jestem poczatkujacy i mam mały problem odnosnie wyswietlania tekstu itd... otóz chciałbym aby po kliknieciu na LINK zawartosc była wy¶wietlana pomiędzy menu prawe i meny lewe na tej samej wysokosci

otóż wy¶wietla mi tak angrysmiley.gif

http://www.darecznik.w.tkb.pl/s/index.php?go=2

  1. <html>
  2. <head>
  3. <title></title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  5. <style type="text/css">
  6. <!--
  7. .unnamed1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px}
  8. a:hover { color: #FF99FF}
  9. a:link { text-decoration: none}
  10. a:visited { text-decoration: none}
  11. -->
  12. </style>
  13. </head>
  14. <body bgcolor="#6699CC" text="#FFFFFF" background="gfx/tlog.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
  15.  
  16. <tr>
  17. <td valign="top" height="600">
  18. <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  19. <tr> 
  20. <td background="gfx/gora1.jpg" height="262">&nbsp;</td>
  21. </tr>
  22. <tr> 
  23. <td background="gfx/tlo.jpgf" height="324" valign="top"> <table width="770" border="0" cellpadding="0" cellspacing="0">
  24. <tr> 
  25. <td width="194" valign="top"> <table width="154" border="0" cellpadding="0" cellspacing="0">
  26. <tr> 
  27. <td width="15%" height="36" valign="top"> 
  28. <? include("include/menu_lewe.inc"); ?> 
  29. </td> 
  30. </tr>
  31. </table>
  32.  
  33.  <center>
  34. </center>
  35. </td>
  36. <td width="576" valign="top">
  37. <? include("include/menu_prawe.inc"); ?>
  38. </td>
  39. </tr>
  40.  
  41. <td width="70%" valign="top">
  42. <center>
  43. <? 
  44. $go=$_GET["go"]; 
  45. /* to działa tylko i wyłącznie, gdy pliki podłączane 
  46. są z katalogu "teksty" i mają rozszerzenie *.txt */ 
  47. if(!isset($go)) { 
  48. include("http:xxxxxxxxxxxxxxxxx"); 
  49. } 
  50. else { 
  51. if(is_file("teksty/$go.txt")) { 
  52. include("teksty/$go.txt"); 
  53. } 
  54. else 
  55. echo "nie ma jescze takiej strony ale nie długo bedzie biggrin.gif"; 
  56. } 
  57. ?>
  58. </center>
  59. </td>
  60. <td width="15%" valign="top">&nbsp; </td> 
  61. </table>
  62.  
  63.  
  64. </td>
  65. </tr>
  66. <tr> 
  67. <tr> 
  68. <td width="100%" colspan="3"> 
  69. <? include("include/stopka.inc"); ?> 
  70. </td>
  71. </tr>
  72. </table>
  73. </td>
  74. </tr>
  75. </table>
  76. <map name="Map"> 
  77.  
  78. </map>
  79. </body>
  80. </html>



być moze namieszałem cos prosił bym o poprawienie błedu i wysłanie całego DOBREGO kodu:)

sory za kłopot pozdrówka smile.gif dla was to pewnie PIKU¦ ;D
tiraeth
Wywal te tabele i użyj DIV winksmiley.jpg
darecznik
a mógłbys dokładniej wytłumaczyc z tym DIV?tongue.gif
Ozarys
Witam też jestem na pocz±tku ale zrób tak nie wiem czy działa ok bo bym musiał dorabiać plik.
  1. <html>
  2. <head>
  3. <title></title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  5. <style type="text/css">
  6. <!--
  7. .unnamed1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px}
  8. a:hover { color: #FF99FF}
  9. a:link { text-decoration: none}
  10. a:visited { text-decoration: none}
  11. -->
  12. </style>
  13. </head>
  14. <body bgcolor="#6699CC" text="#FFFFFF" background="gfx/tlog.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
  15.  
  16. <tr>
  17. <td valign="top" height="600">
  18. <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  19. <tr>
  20. <td background="gfx/gora1.jpg" height="262"></td>
  21. </tr>
  22. <tr>
  23. <td background="gfx/tlo.jpgf" height="324" valign="top"> <table width="770" border="0" cellpadding="0" cellspacing="0">
  24. <tr>
  25. <td width="194" valign="top">
  26. <table>
  27. <td background="gfx/tlo.jpgf" height="324" valign="top"> <table width="770" border="0" cellpadding="0" cellspacing="0">
  28.  
  29. <td width="114" valign="top">
  30. <? include(include/menu_lewe.inc); ?>
  31. </td>
  32.  
  33. <td width="262" valign="top">
  34. <center>
  35. <?
  36. $go=$_GET["go"];
  37. /* to dzia3a tylko i wy3ącznie, gdy pliki pod3ączane
  38. są z katalogu "teksty" i mają rozszerzenie *.txt */
  39. if(!isset($go)) {
  40. include("http:xxxxxxxxxxxxxxxxx");
  41. }
  42. else {
  43. if(is_file("teksty/$go.txt")) {
  44. include("teksty/$go.txt");
  45. }
  46. else
  47. echo "nie ma jescze takiej strony ale nie d3ugo bedzie :D";
  48. }
  49. ?>
  50. </center>
  51. </td>
  52. <td width="392" valign="top"><? include(include/menu_prawe.inc); ?> </td>
  53.  
  54.  
  55. </table>
  56.  
  57.  
  58. </td>
  59. </tr>
  60. <tr>
  61. <tr>
  62. <td width="100%" colspan="3">
  63. <? include("include/stopka.inc"); ?>
  64. </td>
  65. </tr>
  66. </table>
  67. </td>
  68. </tr>
  69. </table>
  70. <map name="Map">
  71.  
  72. </map>
  73. </body>
  74. </html>
darecznik
nie stety po wklejeniu powyzszego kodu wyswietlana jest pusta strona czy mógłby ktos mi pomóc smile.gif tzn zedytowac mój kod na poprawny? guitar.gif guitar.gif angrysmiley.gif angrysmiley.gif angrysmiley.gif

pomoże kto¶ czy nie?
Ozarys
Cytat(Ozarys @ 8.07.2006, 19:52 ) *
taki bład był mały
  1. <? include(include/menu_lewe.inc); ?>

U mnie jest ok tekst jest pomiędzy menu lewe i prawe.
  1. <html>
  2. <head>
  3. <title></title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  5. <style type="text/css">
  6. <!--
  7. .unnamed1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px}
  8. a:hover { color: #FF99FF}
  9. a:link { text-decoration: none}
  10. a:visited { text-decoration: none}
  11. -->
  12. </style>
  13. </head>
  14. <body bgcolor="#6699CC" text="#FFFFFF" background="gfx/tlog.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
  15.  
  16. <div align="center">
  17. <center>
  18. <table>
  19.  
  20. <tr>
  21. <td valign="top" height="600">
  22. <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  23. <tr>
  24. <td background="gfx/gora1.jpg" height="262"></td>
  25. </tr>
  26. <tr>
  27. <td background="gfx/tlo.jpgf" height="324" valign="top"> <table width="770" border="0" cellpadding="0" cellspacing="0">
  28. <tr>
  29. <td width="194" valign="top">
  30. <table>
  31. <td background="gfx/tlo.jpgf" height="324" valign="top"> <table width="770" border="0" cellpadding="0" cellspacing="0">
  32.  
  33. <td width="114" valign="top">
  34. <? include("include/menu_lewe.inc"); ?>
  35. </td>
  36.  
  37. <td width="262" valign="top">
  38. <center>
  39. <?
  40. $go=$_GET["go"];
  41. /* to dzia3a tylko i wy3ącznie, gdy pliki pod3ączane
  42. są z katalogu "teksty" i mają rozszerzenie *.txt */
  43. if(!isset($go)) {
  44. include("http:xxxxxxxxxxxxxxxxx");
  45. }
  46. else {
  47. if(is_file("teksty/$go.txt")) {
  48. include("teksty/$go.txt");
  49. }
  50. else
  51. echo "nie ma jescze takiej strony ale nie d3ugo bedzie biggrin.gif";
  52. }
  53. ?>
  54. </center>
  55. </td>
  56. <td width="392" valign="top"><? include("include/menu_prawe.inc"); ?> </td>
  57.  
  58.  
  59. </table>
  60.  
  61.  
  62. </td>
  63. <tr>
  64. <td width="100%" colspan="3">
  65. <? include("include/stopka.inc"); ?>
  66. </td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. </table>
  72. <map name="Map">
  73.  
  74. </map>
  75. </table>
  76. </center>
  77. </div>
  78. </body>
  79. </html>
darecznik
Dziękuję ziomek naprawde mi pomogłes pozdrooooo!!!!!!

witam jescze jedno małe pytanko odnosnie http://www.darecznik.w.tkb.pl/s/


chciałbym aby prawe menu było na samym brzegu tak jak lewe menu smile.gif tongue.gif kombinowałem ale cois mi sie nie udaje przesun±c pomoze ktos?smile.gif?

kod jest powyzej Ozarys napisał smile.gif
tommy4
sprobuj pokombinowac z linia 30;d
darecznik
nie rozumiem oco chodzi zmieniałem parametry ramek i dalej to samo nie rozumiem tego angrysmiley.gif angrysmiley.gif angrysmiley.gif angrysmiley.gif angrysmiley.gif angrysmiley.gif angrysmiley.gif

no juz sobie poradziłem:) dzieki
Ozarys
No i co z t± stron± co¶ ci nie wychodzi wszystko pogmatwane masz.
To jest wersja lo-fi głównej zawarto¶ci. Aby zobaczyć pełn± wersję z większ± zawarto¶ci±, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.