• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

"kleines" Problem mit dem IE

Status
Für weitere Antworten geschlossen.

Nohma

Neues Mitglied
Hallihallo erstmal ;)

Hab hier ein kleines Problem an dem ich langsam verzweifel :p (.::. Avantgarde of Blood .::. => Startseite (News)..)

Hab ne Seite mit php includes (navibar usw.)...sooo...in Firefox wird alles perfekt angezeigt, doch wenn ich die Seite mit dem IE aufruf macht der Browser anscheinend einige Breaks vor meinen News rein (werden aus einer mysql Datenbank ausgelesen).

Hab mittlerweile alles mögliche versucht, find im Code aber nichts was auf die Breaks hindeuten könnte :/

Das ganze schaut in etwa so aus:

Code:
<? include ("config.php"); ?> 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
  <title> .::. Avantgarde of Blood .::. </title>
  <meta name="description" content="Avantgarde of Blood">
<?php include ("kopf.inc.php"); ?>
  <style type="text/css">
<!--
.Stil4 {font-size: 1px}
body {
    background-color: #333333;
}
.Stil5 {font-weight: bold}
.Stil6 {font-size: 9px}
.Stil7 {color: #FF0000}
.Stil8 {font-size: 9px; color: #FF0000; }
-->
  </style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>



<table width="30%" height="30%"  align="center" style="border-color:000000; border:solid; border-width:thin"  bgcolor="#FFFFFF"  >
<p>
  <tr>
    <td bgcolor="#FFFFFF"><?php include ("navi.inc.php"); ?>
    
     <div id="inhalt">
<?php

$abfrage = "SELECT * FROM news2 order by datum desc";
$ergebnis = mysql_query($abfrage);

while($row = mysql_fetch_object($ergebnis))
   {
  echo "<table width='99%' >
  <tr>
  <td><h2>" . $row->Name .  "" . " <br> <font='Verdana'><font color='red'><font size='0.5'> " . $row->Ersteller .  " am " . $row->Datum .  "  </font></h2> <font face='Arial, Verdana, Sans-Serif' color='black'> <div<font color='black' size='1.0em'>" . nl2br($row->News) . "  </font> </td></tr>
  </table>";
  }
?>
<div align="center"><font size="1px">(c) by Nohma - 2008</font></div>


          
        <p><strong><br>
        </strong></p>
      </div>
      <?php include ("fuss.inc.php"); ?></td></tr>
</table>
<p>&nbsp;</p>
</body> 
</html>
wäre hammer wenn das jmd schnell durchschauen könnte und mich, falls er etwas findet, auf meinen Fehler hinweisen könnte ;)

würde micht wirklich freuen, mit freundlichen Grüßen

Nohma ;Jump

ach, hab die css datei noch vergessen:p

Code:
/* screen.css */

body {

    color: #000000;
    background-color: #f2efc4;
    padding: 0;
    margin: 0;
    font: 1em verdana, sans-serif;
    
}

#oben {
    color: #ffffff;
    background-color: #bb9137;
    padding: 0px 0 0px 0px;
    margin: 0;
    font: bold 20px verdana, sans-serif;
    
}


#link_navi {
    float: left;
    width: 200px;
    margin-top: 15px;
    margin-left: 10px;
    font-family: Arial, Verdana, Sans-Serif;
    font-size: 0.8em;
    
}

#link_navi ul {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
    width: 200px;
    
}

#link_navi li {
    padding: 0 0 2px 0;
    margin: 0;
    
}

#link_navi a {
    width: 180px;
    display: block;
    color: #761F21;
    background-color: #CCCCCC;
    border: 1px solid #999999;
    padding: 2px 2px 2px 10px;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    
}

#link_navi a:hover {
    color: ffffff;
    background-color: #999999;
    border: 1px solid #333333;

}

#link_navi p {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
    padding: 0;color: #bb9137;

}

#inhalt {
    margin: 0 0 0 225px;
    padding: 30px 50px 22px 30px;
    border-left: dotted 2px #000000;
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 0.55em;background-color: #ffffff;
    

}

#inhalt h2 {
    margin: 0 0 10px 0;
    padding: 2px 0 2px 5px;
    font: bold 16px verdana, sans-serif;
    border-left: 10px solid #000000;
    border-bottom: 1px solid #000000;

}

#inhalt h4{
    margin:25px 0 10px 0;
    padding:2px 0 2px 5px;
    font:bold 12px verdana, sans-serif;
    border-left: 10px solid #000000;
    border-bottom: 1px solid #000000;

}

#unten {
    border: 1px    solid #999999;
    clear: left;
    color: white;
    background-color: #CCCCCC;
    padding: 10px 30px 10px 0;
    font: bold 12px verdana, sans-serif;
    text-align: right;

}

#unten a {
    text-decoration: none;
    color: #761F21;

}

#fuss a:visited {
    color: #ffffff;
}

#fuss a:hover {
    text-decoration: Underline;
}

a:link {
    text-decoration: underline;
    color: #bb9137;
}

a:visited {
    text-decoration: underline;
    color: #bb9137;
}

a:hover {
    color: #d2b068;
}


#inhalta {
    margin: 0 0 0 225px;

    font-family: Verdana, Arial, Sans-Serif;
    font-size: 0.8em;background-color: #ffffff;
    text-align: justify;
    

}

#inhalta h2 {
    margin: 0 0 10px 0;
    padding: 2px 0 2px 5px;
    font: bold 16px verdana, sans-serif;
    border-left: 10px solid #000000;
    border-bottom: 1px solid #000000;

}

#inhalta h4{
    margin:25px 0 10px 0;
    padding:2px 0 2px 5px;
    font:bold 12px verdana, sans-serif;
    border-left: 10px solid #000000;
    border-bottom: 1px solid #000000;

}
 
Zuletzt bearbeitet:
Werbung:
Was ich immer nicht verstehe, warum bei Darstellungsproblemen hier immer der PHP-Code gepostet wird. Wie debuggt Ihr denn Eure Seiten? Darstellungsprobleme anhand des PHP-Code? PHP läuft serverseitig, die Darstellung clientseitig.

Zur Analyse ist nicht das PHP-Script zu Rate zu ziehen, sondern natürlich das, was am Ende beim Client ankommt! Nur wenn das dann falsch ist, muss man gucken, woher PHP das Ergebnis holt.
 
Werbung:
Status
Für weitere Antworten geschlossen.
Zurück
Oben