Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> php ramki, podstrona na srodku strony
-darecznik-
post 7.07.2006, 13:28:38
Post #1





Goście







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
Go to the top of the page
+Quote Post
tiraeth
post 7.07.2006, 13:40:01
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 789
Pomógł: 41
Dołączył: 30.10.2003
Skąd: Wrocław

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


Wywal te tabele i użyj DIV winksmiley.jpg
Go to the top of the page
+Quote Post
-darecznik-
post 7.07.2006, 21:37:49
Post #3





Goście







a mógłbys dokładniej wytłumaczyc z tym DIV?tongue.gif
Go to the top of the page
+Quote Post
Ozarys
post 8.07.2006, 18:52:09
Post #4





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 7.07.2006
Skąd: Sosnowiec

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


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>


Ten post edytował Ozarys 8.07.2006, 18:58:07
Go to the top of the page
+Quote Post
-darecznik-
post 9.07.2006, 00:26:06
Post #5





Goście







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?
Go to the top of the page
+Quote Post
Ozarys
post 9.07.2006, 11:05:14
Post #6





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 7.07.2006
Skąd: Sosnowiec

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


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>


--------------------
Początki php, trochę C++
Go to the top of the page
+Quote Post
-darecznik-
post 9.07.2006, 23:04:25
Post #7





Goście







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
Go to the top of the page
+Quote Post
tommy4
post 10.07.2006, 07:38:23
Post #8





Grupa: Zarejestrowani
Postów: 288
Pomógł: 12
Dołączył: 2.12.2005

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


sprobuj pokombinowac z linia 30;d
Go to the top of the page
+Quote Post
-darecznik-
post 10.07.2006, 09:28:04
Post #9





Goście







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
Go to the top of the page
+Quote Post
Ozarys
post 22.07.2006, 20:42:52
Post #10





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 7.07.2006
Skąd: Sosnowiec

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


No i co z tą stroną coś ci nie wychodzi wszystko pogmatwane masz.


--------------------
Początki php, trochę C++
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 00:52