Ashura: Hintergrundsteuerung

Beitrag lesen

Hallo Karl.

Kleine Frage. Was soll dies hier bedeuten:

<base href="http://wintergarten.gunkel.com/template/"> <!--  
|| BEGIN FUSEDOC ||  
|| RESPONSIBILITIES ||  
I am the layout template for the application. All visual stuff can is my fault :)  
|| HISTORY ||  
Author: gunkel@neoblink.com 2001-03-21  
|| ATTRIBUTES ||  
  
|| END FUSEDOC ||  
 -->  
  
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">  

Das <base> hat da oben nichts zu suchen und gehört -- wenn überhaupt erforderlich -- in den <head> der Seite.

Zu deinem Problem:

Das hier:
<body onLoad="javascript:document.getElementsByTagName('body')[0].bgColor='#404040';">

ist vollkommen sinnfrei.
Ein einfaches

<body style="[code lang=css]background-color:#404040;">[/code]

genügt vollkommen.

Gruß, Ashura

--
Selfcode: sh:( fo:) ch:? rl:( br:^ n4:& ie:{ mo:) va:) de:> zu:) fl:( ss:| ls:[ js:|
Try it: Become an Opera Lover in 30 days