Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/12/2007, 07:53
franju
 
Fecha de Ingreso: febrero-2004
Ubicación: andorra
Mensajes: 406
Antigüedad: 21 años
Puntos: 1
problema con div

Hola a todos,

A ver si me pueden echar una mano.

tengo dos pagina un index i un menu. el index tiene un include del menu. os dejo aqui el ejemplo

Index.php

Código PHP:
<!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>Documento sin t&iacute;tulo</title>
</head>
<body>
<table width="100%" height="100%">
    <tr height="100">
        
        <td colspan="2">
            hola1
        </td>
    </tr>
    <tr>
        <td valign="top">
            <? include("menu.php"?>
        </td>
        <td>
            
        </td>
    </tr>
</table>
</body>
</html>
este es mi index i luego tengo el menu

Código PHP:
<div id="div1" style="display:'none'">
 
opcion1
 opcion2
</div
el problema és que si llamo a al index .php me siguen apareciendo las opciones i eso que las tengo en none.

Sabeis como solucionar esto

Muchas gracias por vuestra ayuda,

Un saludo,

Frank
__________________
vuestro amigo franju