Seite 1 von 1

Abstand Mozilla/IE im Textmodul

Verfasst: Mo 17. Sep 2007, 12:32
von Lukas144
Moin mein Problem,

Der Abstand zwischen dem Containerrand oben und der tabelle drinnen ist in Firefox etwa doppelt so groß, wie im IE.

Den abstand habe ich einfach im Contenido editor für den Artikel erstellt.
Wenn ich da eine Zeile abstand mache, steht im html code:  
bevor der code für die tabelle kommt.

&nbsp;<table border="0" width="530" height="160"><tr><td>
und so weiter...

Diese eine Zeile abstand ist aber im Mozilla doppelt so groß.
habe keine anhnung woran das liegt.

hoffe ihr habt ne idee

benutze dieses Textmodul:

<?php
/***********************************************
* CONTENIDO MODUL - OUTPUT
*
* Modulname : Text HTML
* Author(s) : Andreas Lindner
* Copyright : Contenido - four for business, Andreas Lindner
* Created : 05.08.2005
************************************************/

echo "<p>"."CMS_HTML[1]"."</p>";
?>

Re: Abstand Mozilla/IE im Textmodul

Verfasst: Mo 17. Sep 2007, 21:10
von media-konzept
Lukas144 hat geschrieben:Moin mein Problem,

Der Abstand zwischen dem Containerrand oben und der tabelle drinnen ist in Firefox etwa doppelt so groß, wie im IE.

Den abstand habe ich einfach im Contenido editor für den Artikel erstellt.
Wenn ich da eine Zeile abstand mache, steht im html code: &nbsp;
bevor der code für die tabelle kommt.

&nbsp;<table border="0" width="530" height="160"><tr><td>
und so weiter...

Diese eine Zeile abstand ist aber im Mozilla doppelt so groß.
habe keine anhnung woran das liegt.

hoffe ihr habt ne idee

benutze dieses Textmodul:

<?php
/***********************************************
* CONTENIDO MODUL - OUTPUT
*
* Modulname : Text HTML
* Author(s) : Andreas Lindner
* Copyright : Contenido - four for business, Andreas Lindner
* Created : 05.08.2005
************************************************/

echo "<p>"."CMS_HTML[1]"."</p>";
?>
Hallo,
das &nbsp; Problem findest Du mehrfach hier im Forum....um die volle Kontrolle über Abstände und Ränder zu bekommen, solltest Du im CSS erst mal alles auf Null setzen, am besten an erster Stelle...
Gruss Felix

Verfasst: Di 18. Sep 2007, 09:28
von daniello1
Versuche mal die <p>-Tags im Modul zu entfernen.

echo ""."CMS_HTML[1]"."";

Gehts besser?