Seite 1 von 1

Template-darstellung im IE

Verfasst: 09 Jun 2013 18:56
von gargamel
Hallo zusammen,
Ich habe folgendes Template für die UV-belastung in WsWin laufen (Akuelle version):
<!-- %customfile=uv-Belastung.html% -->
<!-- %openfile=mini-wetter.txt% -->
<b>
%ws_comparestrx=%ws_uvtext%~none~<BODY bgColor="#CAE8CC">Keine UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~minimal~<BODY bgColor="#H9FE09C">Geringe UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~low~<BODY bgColor="#36BA29">Niedrige UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~moderate~<BODY bgColor="#EBE049">Mäßige UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~high~<BODY bgColor="#E1565">Hohe UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~veryhigh~<BODY bgColor="#C22E2E">Sehr hohe UV-Strahlung~ %
</b>
Im Firefox wird es einwandfrei angezeigt, im Internetexlorer nicht (Kein text bzw. unvollständiger Text).
Was muß ich im Template ändern?

Verfasst: 09 Jun 2013 19:09
von gargamel
Durch einen "Geistesblitz" meinerseits ist das Problem gelöst.
<b> und </b> für die Fettschriftdarstellung muss bei jeder textzeile separat eingegeben werden und nicht nur einmal am template anfang und -ende.
So muß es sein:
<!-- %customfile=uv-Belastung.html% -->
<!-- %openfile=mini-wetter.txt% -->
%ws_comparestrx=%ws_uvtext%~none~<BODY bgColor="#CAE8CC"><b>Keine UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~minimal~<BODY bgColor="#H9FE09C"><b>Geringe UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~low~<BODY bgColor="#36BA29"><b>Niedrige UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~moderate~<BODY bgColor="#EBE049"><b>Mäßige UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~high~<BODY bgColor="#E1565"><b>Hohe UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~veryhigh~<BODY bgColor="#C22E2E"><b>Sehr hohe UV-Strahlung~ %</b>