![]() |
SELFHTML Forumsarchiv |
|
|
Die folgende Nachricht zum Thema stammt von: Pasque, 30. 07. 1999, 01:48
also ich möchte in einem JavaScript Tag ein Bildr mit CSS postionieren
mein Versuch :
...
if(screen.width>701 && screen.width<801)
document.write("
<div style=\"position:relative; top:-8px; LEFT:376px;\">
<IMG SRC="logo.gif" BORDER=0 ALT="LOGO"></DIV>
");
....
was mache ich falsch ??
Die folgende Nachricht zum Thema stammt von: Florian Auer, 30. 07. 1999, 07:42
»» if(screen.width>701 && screen.width<801)
»» document.write("
»» <div style=\"position:relative; top:-8px; LEFT:376px;\">
»» <IMG SRC="logo.gif" BORDER=0 ALT="LOGO"></DIV>
»» ");
»» ....
vermutlich:
<IMG SRC="logo.gif" BORDER=0 ALT="LOGO"></DIV>");
das muss so heißen:
<IMG SRC=\"logo.gif\" BORDER=0 ALT=\"LOGO\"></DIV>\");
MfG Florian Auer
© 1998-2006
Impressum, Software: Classic Forum