Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML] Div nie wyświetla się
Pilsneer
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 15.02.2010

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


Witajcie!

Zakodowałem laya w html'u wygląda to idealnie, lecz gdy przeniosłem sobie to w moje pliczki php top.php, leftmenu.php ale divy się nie wyświetlają

Można zobaczyć to tutaj:
http://img27.imageshack.us/gal.php?g=dupac.png

header.php odpowiada za górne menu

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Handball Manager - Pokieruj karierą Szczypiornisty!</title>
  6. <link href="style.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body>
  9. <center>
  10. <div id="calosc">
  11. <img src="img/logo.png" border="0"><br>
  12. <a href="news.php"><img src="img/home.png" border="0"></a>
  13. <a href="forum"><img src="img/forum.png" border="0"></a>
  14. <a href="team_new.php"><img src="img/moj_klub.png" border="0"></a>
  15. <a href="topka.php"><img src="img/top_list.png" border="0"></a>
  16. <a href="logout.php"><img src="img/wyloguj.png" border="0"></a></div>
  17. </center>
  18. <?php
  19. include('baza.php');
  20. $czas = mktime();
  21. mysql_query("UPDATE users SET `ost` = '$czas' WHERE user='$user'");
  22. ?>


top.php tutaj trzymam dane lewego menu i sesje.

  1. <?php
  2. if(!isSet($_SESSION['zalogowany'])){
  3. $_SESSION['komunikat'] = "Sesja minela, zostales wylogowany";
  4. include('index.php');
  5. exit();
  6. }
  7. ?>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
  12.  
  13. <title>HandballManager</title>
  14.  
  15. <link rel="stylesheet" href="style_main.css" type="text/css">
  16. </head>
  17. <body>
  18.  
  19. <?php
  20. include('header.php');
  21. ?>
  22. <center>
  23. <table cellspacing="0" cellpadding="0" border="0" width="755">
  24. <tr>
  25. <td class="pad" width="170"><?php include('lmenu.html'); ?></td>
  26. <td class="g" width="3"> </td>
  27. <td class="pad" rowspan="3" valign="top" width="860">
  28. </center>


leftmenu.php odpowiada za lewe menu

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <link href="style.css" rel="stylesheet" type="text/css">
  5. </head>
  6. <div id="tresc">
  7. <div id="lewa">
  8. <div id="menu_gora"></div>
  9. <div id="tlo">
  10. temat<br><br>temat
  11. </div>
  12.  
  13. <div id="staty_gora"></div>
  14. <div id="tlo">
  15. temat<br><br>temat
  16. </div>
  17.  
  18. <div id="top_gora"></div>
  19. <div id="tlo">
  20. messi8<br><b>messi8
  21. </div>
  22. </div>
  23. </html>


Efekty możecie zobaczyć na drugim obrazku
http://img27.imageshack.us/gal.php?g=dupac.png

Oryginał na pierwszym:

http://img27.imageshack.us/gal.php?g=dupac.png

Ten post edytował Pilsneer 7.03.2010, 11:05:00
Go to the top of the page
+Quote Post

Posty w temacie


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 Aktualny czas: 22.08.2025 - 05:31