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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Handball Manager - Pokieruj karierą Szczypiornisty!</title> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <center> <div id="calosc"> <img src="img/logo.png" border="0"><br> <a href="news.php"><img src="img/home.png" border="0"></a> <a href="forum"><img src="img/forum.png" border="0"></a> <a href="team_new.php"><img src="img/moj_klub.png" border="0"></a> <a href="topka.php"><img src="img/top_list.png" border="0"></a> <a href="logout.php"><img src="img/wyloguj.png" border="0"></a></div> </center> <?php include('baza.php'); ?>
top.php tutaj trzymam dane lewego menu i sesje.
<?php $_SESSION['komunikat'] = "Sesja minela, zostales wylogowany"; include('index.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> <title>HandballManager</title> <link rel="stylesheet" href="style_main.css" type="text/css"> </head> <body> <?php include('header.php'); ?> <center> <table cellspacing="0" cellpadding="0" border="0" width="755"> <tr> <td class="pad" width="170"><?php include('lmenu.html'); ?></td> <td class="g" width="3"> </td> <td class="pad" rowspan="3" valign="top" width="860"> </center>
leftmenu.php odpowiada za lewe menu
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="style.css" rel="stylesheet" type="text/css"> </head> <div id="tresc"> <div id="lewa"> <div id="tlo"> </div> <div id="tlo"> </div> <div id="tlo"> </div> </div> </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