Problem bei Mozilladarstellung

Status
Nicht offen für weitere Antworten.

hookx

Grünschnabel
Hallo,

ich habe folgende index.php:

PHP:
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Städtischer Musikverein Bitburg e.V.</title>
<link rel="stylesheet" type="text/css" href="css/format.css">
</head>

<body topmargin="0" bottommargin="0" marginleft="0" marginright="0" width="100%">


<table width="700" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td valign="top" height="70" width="740">
      <?include("kopf.php");?>
    </td>
  </tr>
  <tr>
    <td valign="top" height="20">
      <?include("menue.php");?>
    </td>
  </tr>
  <tr>
    <td><img src="images/uebergang.jpg" width="100%" height="11"></td>
  </tr>
  <tr>
    <td height="400" bgcolor="#ffffff" valign="top">
      <?
      switch($_GET["content"]){
      case "termine":
      include "termine.php";
      break;
      case "chronik":
      include "chronik.php";
      break;
      case "vorstand":
      include "vorstand.php";
      break;
      case "jugend":
      include "jugend.php";
      break;
      case "bilder":
      include "bilder.php";
      break;
      case "links":
      include "links.php";
      break;
      case "gaestebuch":
      include "gaestebuch.php";
      break;
      case "kontakt":
      include "kontakt.php";
      break;
      case "impressum":
      include "impressum.php";
      break;
      case "preview":
      include "preview.php";
      break;
      case "bild":
      include "bild.php";
      break;
      case "gbeintrag":
      include "gbeintrag.php";
      break;
      case "gbbst":
      include "gbbst.php";
      break;
      case "senden":
      include "senden.php";
      break;
      default:
      include "home.php";
      break;
      }
      ?>
    </td>
  </tr>
  <tr>
    <td valign="top"><img src="images/uebergang2.jpg" width="100%" height="11"></td>
  </tr>
  <tr>
    <td valign="top" height="20" width="740">
      <?
      switch($_GET["fuss"]){
      case "navibild":
      include "navibild.php";
      break;
      case "navigb":
      include "navigb.php";
      break;
      default:
      include "fuss.php";
      break;
      }
      ?>
    </td>
  </tr>
</table>



</body>
</html>

nun zum problem:
im ie und opera wird alles richtig dargestellt. unte mozilla / netscape allerdings sind unten und oben, zwischen dem uebergang.jpg und der darunterliegenden/darüberliegenden tr 2-3 pixel abstand. diese krieg ich einfach nicht weg. hat jemand ahnung, woran das liegen könnte?
wenn ich das die höhe des ueergang.jpg auf 13 ändere (originalhöhe ist 11) verschindet zumindest der obere abstand. unten jedoch auch nicht.

hier noch der link zur seite:

http://mhoor.de/mv-bitburg

vielen dank schonmal

gruß

hook
 
Also bei meinem Mozilla Firebird 0.6 tuts das wunderbar. Netscape oder ältere Mozilla Versionen hab ich nicht da.
 
falls wir uns misverstehen, hier ein bild

http://mhoor.de/bsp.jpg

ich meine in den rot markierten bereichen die weiße 2-3 pixel diecke weiße linie zwischen dem blauen.

ich hab mir nämlich mal gerade den mozilla firebird 0.6 gezogen, da siehts bei mir genau so aus
 
Versuch's mal so:

PHP:
<td height="400" bgcolor="#ffffff" valign="top"><?
switch($_GET["content"]){ ......

Lass den Zeilenumbruch hinter dem TD weg.
 
Probier das mal:

Code:
<html>

<head>

<title>Städtischer Musikverein Bitburg e.V.</title>

<link rel="stylesheet" type="text/css" href="css/format.css">

</head>


<body topmargin="0" bottommargin="0" marginleft="0" marginright="0" width="100%">



<table width="700" border="0" cellpadding="0" cellspacing="0" align="center">

__<tr>

____<td valign="top" height="70" width="740">

______<?include("kopf.php");?>

____</td>

__</tr>

__<tr>

    <td valign="top" height="20">

      <?include("menue.php");?>

    </td>

  </tr>

  <tr>

    <td valign="top"><img src="images/uebergang.jpg" width="100%" height="11"> </td>

...


Ich hab es noch nicht getestet - mein Opera 7.10 zeigt alles korrekt an.
 
ne, hat auch nichts geeholfen.

aber ich hab den fehler heut morgen gefunden. wer kommt schon auf sowas? komischer mozilla...

für die, die es interessiert, um oben den fehler zu behenben, musste man die imagegröße von der originalen höhe von 11px einfach auf 13 setzen. unten war es etwas dubioser.

original:
PHP:
<td valign="top"><img src="images/uebergang2.jpg" width="100%" height="11"></td>

funktionierende variante

PHP:
<td bgcolor="#2F3C83"><img src="images/uebergang2.jpg" width="702" height="13"></td>
 
Status
Nicht offen für weitere Antworten.
Zurück