Pagina visionabile solo con Firefox?

Sapete dirmi perchč http://www.studentimaffei.altervista.org/pagina.php io la vedo solo con firefox mentre non si vede nulla con internet explorer o opera ???

Questo č il codice:

<!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 senza titolo</title>
<style type="text/css">
<!--

body 
{ 
   background-color: #f5f5f5;
   margin-top:0px;
   margin-left:0px;
   margin-right:0px;
   margin-bottom:0px;
}


/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #ffffff; }
a:hover      { text-decoration: underline; color : #ffffff; }

.Stile1 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 10px;
   color: #FFFFFF;
   font-weight: bold;
}
.Stile2 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 10px;
   color: #000000;
   font-weight: bold;
}
.Stile3 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #000000;
   font-weight: normal;
}
</style>
</head>

<body>
<?php 
/* Inclusione file di configurazione del database */
include("config.php");

/* Connessione al database */
$dbcon = mysql_connect($db_hostname, $db_username, $db_password);
mysql_select_db("$db_name");

/* Form login */
$form_login = "<form action=\"login.php\" method=\"post\" class=\"Stile1\">
 Username: <input size=\"15\" name=\"username\" type=\"text\" class=\"Stile2\">
Password: <input size=\"15\" name=\"password\" type=\"password\" class=\"Stile2\">

<input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\"> 
Login automatico
<input value=\"Login\" name=\"login\" type=\"submit\" class=\"Stile2\"> 
| 
<a href=\"phpBB2/profile.php?mode=sendpassword\"> Password dimenticata </a> | <a href=\"phpBB2/profile.php?mode=register\">Registrati</a> </form>";
?>
<table border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="185"><img src="images/top_left_logo.gif" width="185" height="49"></td>
    <td width="416" align="center" background="images/top_middle_tile.gif" class="Stile1"><br />
    Il primo sito degli studenti del Liceo Maffei di Verona </td>
    <td width="37"><img src="images/top_nav_corner.gif" width="37" height="49"></td>
        <td width="382" valign="bottom" nowrap background="images/top_nav_bg.gif" class="menufg Stile1">
          <a class="navs" href="index.php">Home</a>          <!-- BEGIN switch_user_logged_in -->
          | <a class="navs" href="profile.php?mode=editprofile">User CP</a> | 
          <!-- END switch_user_logged_in -->          <!-- BEGIN switch_user_logged_out -->
          | <a class="navs" href="profile.php?mode=register">Register</a> | 
          <!-- END switch_user_logged_out -->
          <a class="navs" href="groupcp.php">Groups</a> 
          | <a class="navs" href="memberlist.php">Members</a> | <a class="navs" href="search.php">Search</a> 
          | <a class="navs" href="faq.php">FAQ</a> | 
<img src="images/spacer.gif" width="8" height="8" hspace="5"></td>
  </tr>
  <tr> 
    <td><img src="images/top_left_bottom.gif" width="185" height="11"></td>
    <td background="images/top_left_bottom.gif"><img src="images/top_left_bottom.gif" width="185" height="11"></td>
    <td><img src="images/top_corner_bottom.gif" width="37" height="11"></td>
    <td valign="bottom" background="images/top_nav_bottom.gif"><img src="images/top_nav_bottom.gif" width="1" height="11"></td>
  </tr>
</table>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#004a80">
  <tr>
    <th scope="col" align="left"><?php 
   if (isset($_COOKIE['studentimaffei']))
   {
      $session_id = $_COOKIE['studentimaffei'];
      $query = "SELECT * FROM phpbb_users WHERE username='$username'";
      $result = mysql_query($query, $dbcon);
      $row = mysql_fetch_array($result);
      echo "Benvenuto $row[username]";
   }
   else
   {
      echo $form_login;
   }

   ?></th>
  </tr>
</table>

<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th scope="col" background="images/top_left_bottom.gif" height="11"></th>
  </tr>
  <tr>
    <th scope="col"><table width="20%"  border="0" align="left">
      <tr>
        <th class="Stile3" scope="col">Men&ugrave;:</th>
      </tr>
      <tr>
        <th scope="col">Giornalino</th>
      </tr>
      <tr>
        <th scope="col">Amnesty International </th>
      </tr>
      <tr>
        <th scope="col">&lt; vuoto &gt; </th>
      </tr>
<tr>
        <th scope="col">&lt; vuoto &gt; </th>
      </tr>
<tr>
        <th scope="col">&lt; vuoto &gt; </th>
      </tr>
<tr>
        <th scope="col">&lt; vuoto &gt; </th>
      </tr>
<tr>
        <th scope="col">&lt; vuoto &gt; </th>
      </tr><tr>
        <th scope="col">&lt; vuoto &gt; </th>
      </tr>
    </table>
     
      <table width="79%"  border="0" align="left">
        <tr>
          <th scope="col"><p>asdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdadasdasdasdasdasdasdasd</p>
          <p>asdasdasda</p>
          <p>asdasd</p>
          <p>asdasdasdasda</p>
          <p>asdasd</p>
          <p>asd</p>
          <p>asd</p>
          <p>asasdasdasdasdasdasda</p>          
          <p>asdasd</p>
          <p>asd</p>
          <p>asd</p>
          <p>asasdasdasd</p>          <p>asd</p>
          <p>asasdasdasd</p></th>
        </tr>
    </table>    </th>
  </tr>
</table>
</body>
</html>
inviato 11 anni fa
z3ro
z3ro
1
X 0 X

credo di avere risolto... bastava mettere lo style in un file css a parte...

p.s piccolo consiglio, non chiamate mai i css "css" altrimenti Opera non li capisce :)

risposto 11 anni fa
z3ro
z3ro
1
X 0 X

Il problema era causato dal fatto che hai inserito un commento HTML (<!--) appena dopo il tag <style> ma hai dimenticato di chiuderlo con un "-->" prima del tag </style>

 :bye:

risposto 11 anni fa
Gianni Tomasicchio
X 0 X
Effettua l'accesso o registrati per rispondere a questa domanda