Hallo Manuel,
da kannst du in den css-Dateien lange suchen
. Diese Formatierung steckt nämlich in der include/functions.mod.inc.php.
Und hier in der Funktion
function ReplaceArtikelText, beginnt in der Zeile 2923.
Da ist zweimal dieser switch-Block drin, einmal für Artikel-Bilder und einmal für Kategorie-Bilder. Mit
style= wird sogenanntes inline-css definiert, d.h. die css-Anweisungen stehen nicht in einer ausgelagerten Datei sondern wirklich im html-Code. Widerspricht natürlich total der Trennung von Inhalt und Layout, aber ist halt mal so....
- Code: Alles auswählen
switch($align){
case "left";
$style = "style=\"width:" . ($ArtikelObject->imagesmall_width) . "px; border: 1px solid #6D808F; float:left; margin:5px; padding: 2px;\"";
break;
case "cntr";
$style = "style=\"width:" . ($ArtikelObject->imagesmall_width) . "px; border: 1px solid #6D808F; clear:both; margin:5px 5px 5px -" . number_format(((($ArtikelObject->imagesmall_width +2)/2)-5),0) . "px ; position:relative; left:50%; padding: 2px;\" ";
break;
case "rgth";
$style = "style=\"width:" . ($ArtikelObject->imagesmall_width) . "px; border: 1px solid #6D808F; float:right; margin:5px; padding: 2px;\"";
break;
case "none";
$style = "style=\"width:" . ($ArtikelObject->imagesmall_width) . "px; border: 1px solid #6D808F; margin:5px; padding: 2px;\"";
break;
}
Hier können jetzt die border-Anweisunge auf 0 gesetzt werden, dann wird der Rahmen nicht mehr angezeigt.
Gibt natürlich noch eine elegantere Lösung, davon aber vielleicht später...
Gruß
Magnus