Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/05/2010, 02:02
Avatar de Flow89
Flow89
 
Fecha de Ingreso: abril-2010
Ubicación: Valladolid
Mensajes: 346
Antigüedad: 14 años
Puntos: 1
Problema al mostrar .-(IE7)

Hola, tengo el siguiente código;

Código PHP:
<?php 
  
include("conex.php"); 
  include(
"login.php"); 
  if(
$loginCorrecto)
  {
  echo 
"
<html>
<head>
<title>JuventudMDC - Panel de Administraci&oacute;n</title>
<link href=\"../css/general.css\" rel=\"stylesheet\" type=\"text/css\" />
<style type=\"text/css\">
<!--
body {
    background-image: url(../imagenes/bg_pattern.gif);

</style></head>

<body>

<div align=\"center\">
  <table width=\"200\" border=\"0\" id=\"general\">
    <tr>
      <td colspan=\"3\"><img src=\"../imagenes/panel.png\" width=\"500\" height=\"200\"></td>
    </tr>
    <tr>
      <td colspan=\"3\">&nbsp;</td>
    </tr>
    <tr>
      <td width=\"161\"><div align=\"center\"><a href=\"../noticias/administrar.php\"><img src=\"../imagenes/crearnoticia.png\" width=\"100\" height=\"100\" border=\"0\" usemap=\"#Map\"></a></div></td>
      <td width=\"162\"><div align=\"center\"><a href=\"../noticias/enoticias.php\"><img src=\"../imagenes/editarnoticia.png\" width=\"100\" height=\"100\" border=\"0\" usemap=\"#map\"></a></div></td>
      <td width=\"165\"><div align=\"center\"><a href=\"../noticias/bnoticias.php\"><img src=\"../imagenes/borrarnoticia.png\" width=\"100\" height=\"100\" border=\"0\" usemap=\"#map\"></a></div></td>
    </tr>
    <tr>
      <td><div align=\"center\" ><a href=\"../noticias/administrar.php\" class=\"Estilo16\">Crear Noticia </a></div></td>
      <td> <div align=\"center\" ><a href=\"../noticias/enoticias.php\" class=\"Estilo16\">Editar Noticia </a></div></td>
      <td><div align=\"center\" ><a href=\"../noticias/bnoticias.php\" class=\"Estilo16\">Borrar Noticia </a></div></td>
    </tr>
  </table>
</div>
</body>
</html>
"
;
  }
  else
  {
  echo 
"<META HTTP-EQUIV=\"refresh\" CONTENT=\"2; url=../panel.php\">";
  echo 
"<table style=\"height:100%;width:100%;\"border=\"0\"><tr><td class=\"estilo34\"><div align=\"center\">El sistema no lo ha identificado, solo los usuarios registrados tienen acceso a esta area</div></td></tr></table>";
  }
?>
El caso es que con Mozilla firefox, me lo muestra correctamente todo, pero con IE7 si pongo las siguientes lineas:

<style type=\"text/css\">
<!--
body {
background-image: url(../imagenes/bg_pattern.gif);

</style>


No me muestra el resto del contenido.. :S Como se pusiese encima el fondo del codigo php o algo así..

No lo entiendo, alguien me puede echar una mano?

Un saludo.