The Lavigne
Banido
Boas estou a fazer pela primeira vez um site com base em include.
Estou a utilizar o easyphp mas existe um problema com as tabelas.
o main não aparece no localhost, como devia aparecer !
Basicamente o site são tabelas com include.
Ficheiro do temp onde estão definidas todas as tabelas é este:
<!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=ISO-8859-1" />
<title>xxx</title>
<style type="text/css">
<!--
body {
background-color: #a8d5ec;
}
-->
</style></head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><table width="865" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="562" rowspan="2" align="left" valign="top"><?php include("inc/barra_esq.php"); ?></td>
<td width="483" height="164" align="center" valign="top"><?php include("inc/topo.php"); ?></td>
<td width="191" height="562" rowspan="2" align="left" valign="top"><?php include("inc/barra_dta.php"); ?></td>
<td width="18" rowspan="3"><?php include("inc/main.php"); ?>;</td>
</tr>
<tr>
<td height="198" valign="top"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
A única tabela que aparece fora do sitio é o main:
<table border="1" width="483" height="398">
<tr>
<td>Definir Tabelas</td>
</tr>
</table>
Screen do localhost:
Quem me puder ajudar, desde obrigado
Estou a utilizar o easyphp mas existe um problema com as tabelas.
o main não aparece no localhost, como devia aparecer !
Basicamente o site são tabelas com include.
Ficheiro do temp onde estão definidas todas as tabelas é este:
<!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=ISO-8859-1" />
<title>xxx</title>
<style type="text/css">
<!--
body {
background-color: #a8d5ec;
}
-->
</style></head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle"><table width="865" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="562" rowspan="2" align="left" valign="top"><?php include("inc/barra_esq.php"); ?></td>
<td width="483" height="164" align="center" valign="top"><?php include("inc/topo.php"); ?></td>
<td width="191" height="562" rowspan="2" align="left" valign="top"><?php include("inc/barra_dta.php"); ?></td>
<td width="18" rowspan="3"><?php include("inc/main.php"); ?>;</td>
</tr>
<tr>
<td height="198" valign="top"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
A única tabela que aparece fora do sitio é o main:
<table border="1" width="483" height="398">
<tr>
<td>Definir Tabelas</td>
</tr>
</table>
Screen do localhost:
Quem me puder ajudar, desde obrigado
Última edição: