MyXoops Forum

Forum - myXOOPS German Support

1 + 3 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

CSS im PHP-Skript

Betreff: CSS im PHP-Skript
von surfman am 05.05.2006 10:57:39

Hallo,
ich hab ein kleines Problem. Ich wollte in ein Sript eine Schriftauszeichnung mit CSS einbauen.
$bloco['content'] .= '<tr><td colspan="'.$colspan.'" style="{font-family: Arial, Helvetica, sans-serif; font-size: 11px}"><b>'.$total.'</b>  User sind online<br />'._XT_MO_MEMBROS.': '.$membros.'<br />'._XT_MO_VISITANTES.': '.$visitantes.'</td></tr>';


Das
style="{font-family: Arial, Helvetica, sans-serif; font-size: 11px}"
hab ich eingefügt. Allerdings wird das zwischen den Anführungszeichen stehende ignoriert. Hat vielleicht mit den Klammern zu tun?
Wie muss ich es schreiben, damit es richtig dargestellt werden kann?

Danke schon mal.

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5319 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1813 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag