include
: pn lut 26, 2007 5:05 pm
w jakimś temacie się już wypowiadałem i bodajże kolega "HAWK" powiedział że jak sie umieści funkcję include w np. w tabelach (border=0) to możemy zmienić tym rozmiar strony ładowanej z include... no i jak ja powiedziałem że menu jest takie na wielkość jak ta tabela w pliku menu a nie jak tabela na stronie głównej to powiedzaił że gdzieś jest błąd czy mógłby mi ktoś powiedzieć gdzie tu jest błąd?? najpierw wstawie skrypt strony głównej a potem tego całego menu...
Kod: Zaznacz cały
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>Nowa strona 1</title>
</head>
<body bgcolor="#FF0000">
<table border="0" width="100%" id="table1" height="207">
<tr>
<td width="119" rowspan="2" bgcolor="#FFFFFF"><?php include ("menu.htm"); ?> </td>
<td>rgdfsgfd</td>
</tr>
<tr>
<td>gdsfgsdfgdf</td>
</tr>
</table>
</body>
</html>Kod: Zaznacz cały
<html>
<head>
<meta http-equiv="Content-Language" content="pl">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>ghgfgfgfdgdgfd</title>
</head>
<body>
<table border="0" width="119" id="table1" height="431">
<tr>
<td valign="top">ghgfgfgfdgdgfd</td>
</tr>
</table>
</body>
</html>