Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML]Jak dorobić ramkę
vander1989
post 30.03.2011, 16:13:35
Post #1





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 24.08.2009

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


Siemka chciałbym mieć taki układ ramek http://img340.imageshack.us/i/ramki.jpg/ nie mogę sobie dac rady z ta ramką na dole ewentualnie ta na dole moze byc przez cały ekran na razie mam coś takiego
  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
  6. <title>tyt</title>
  7. </head>
  8. <frameset rows="10%,*" border="5" frameborder="2" framespacing="0">
  9. <frame name="tytul" noresize="noresize" scrolling="no" frameborder="1" src="ramka.html" />
  10. <frameset rows="85%,*" border="5" frameborder="2" framespacing="0">
  11. <frameset cols="13%,*" border="5" frameborder="3" framespacing="0">
  12. <frame name="menu" noresize="noresize" frameborder="1" src="ramka3.html" />
  13. <frame name="strona" noresize="noresize" frameborder="1" src="ramka2.html" />
  14. <frame name="stopka" noresize="noresize" frameborder="1" src="ramka4.html" />
  15. <frameset rows="100%,*" border="5" frameborder="2" framespacing="0">
  16. <frame name="stopka" noresize="noresize" frameborder="1" src="ramka4.html" />
  17. <noframes>Nie działają ramki</noframes>
  18. </html>
  19.  

jest taki podział jak bym chciał ale niestety nie moge "włozyć" źrodł na sam doł
Go to the top of the page
+Quote Post
konole
post 30.03.2011, 16:16:05
Post #2





Grupa: Zarejestrowani
Postów: 275
Pomógł: 32
Dołączył: 21.03.2006
Skąd: Warszawa

Ostrzeżenie: (20%)
X----


A w jakim celu te ramki? W celu skonstruowania strony? Tak się tego nie robi już od 10 lat. Poczytaj o <div> i includowaniu plików w PHP.
Go to the top of the page
+Quote Post
vander1989
post 31.03.2011, 12:05:53
Post #3





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 24.08.2009

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


No ok mam juz na divach tak jak chciałem i staram się includować poszukałem o tym i mam powiedzmy cos takiego

  1. <div id="NAGLOWEK"><?php include("ramka1.php"); ?><br></div>

i niestety nic sie nie wyswietla tam gdzie jest nagłówek
zawartosc ploku ramka1.php
  1. <?php
  2. echo ' <html><body>RAMKA1</body></html>';
  3. ?>


Ten post edytował vander1989 31.03.2011, 12:07:23
Go to the top of the page
+Quote Post
konole
post 3.04.2011, 19:28:24
Post #4





Grupa: Zarejestrowani
Postów: 275
Pomógł: 32
Dołączył: 21.03.2006
Skąd: Warszawa

Ostrzeżenie: (20%)
X----


Przez otwarcie w przeglądarce pliku php nic się nie uruchomi. Masz 2 opcje:
* instalacja lokalnego serwera (Apache + PHP) - chociażby XAMPP, Krasnal
* przerzucanie plików na serwer z obsługą PHP - nie polecam do tworzenia. smile.gif
Go to the top of the page
+Quote Post
vander1989
post 5.04.2011, 15:01:40
Post #5





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 24.08.2009

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


no to jest jak się nie wyświetli smile.gif a jak się wyświetli?
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 - 12:05