Chris: externe css-Datei und body-tag

Hallo allerseits !

Ich habe das rchiv nun durchwühlt, aber...

ich habe folgendes Problem:

ich benutze eine externe css-Datei für IE5.5
und will dort eigentlich nur einen body-tag
definieren.

Er nimmt aber den body-tag nicht; den p-tag nimmt aber.

Es soll ein Wasserzeichen werden, aber soweit sind wir noch gar nicht. Erstmal, dass er überhaupt das body-tag aus der css-Datei liest.

Woran liegt's?

all help appreciated!

Code:
body {margin-top:2px;margin-bottom:10px;color:red;font-family:Arial;background-image:url(./../bilder/wasserzeichen.jpg);background-repeat:no-repeat;background-position:top center;background-attachment:fixed}

  1. Hi, Chris

    So sollte es klappen - übersichtlich, nicht? ;-)

    body {
     margin-top:2px;
     margin-bottom:10px;
     color:red;
     font-family:Arial;
     background-image:url(../../bilder/wasserzeichen.jpg);
     background-repeat:no-repeat;
     background-position:top center;
     background-attachment:fixed;
    }

    Ich empfehle dir auch, Stylesheets vom CSS-Validator checken zu lassen: http://jigsaw.w3.org/css-validator/validator-text.html. Der spuckt dann die restlichen Warnungen aus.

    LG Orlando

    1. Hallo Orlando !

      Es ist ja wahnsinn, wie schnell die Antworten hier eingehen.
      Was hattest Du denn geändert? Doch nur die Zeilenumbrüche, oder?
      Läuft bei mir immer noch nicht.
      Vielen Dank dennoch !

      Dein Christoph

      nochmal die ganze externe css-Datei

      <HTML>
      <HEAD>
      </HEAD>
      <BODY>
      body {
       margin-top:2px;
       margin-bottom:10px;
       color:red;
       font-family:Arial;
       background-image:url(../../bilder/wasserzeichen.jpg);
       background-repeat:no-repeat;
       background-position:top center;
       background-attachment:fixed;
      }
      </BODY></HTML>

      1. Hi, Christoph

        Nana, da hast du aber noch nicht viel in http://selfhtml.teamone.de/css/ geblättert.

        <HTML>
        <HEAD>

        <style type="text/css">
        <!--

        body {
        margin-top:2px;
        margin-bottom:10px;
        color:red;
        font-family:Arial;
        background-image:url(../../bilder/wasserzeichen.jpg);
        background-repeat:no-repeat;
        background-position:top center;
        background-attachment:fixed;
        }

        -->
        </style>

        </HEAD>
        <BODY>
        </BODY>
        </HTML>

        Wenn's damit immer noch nicht klappt, setzte bitte einen Link auf die fehlerhafte Seite.

        LG Orlando

        1. Hallo !

          Ich habs jetzt.
          Du hast völlig Recht.
          Ich Depp.

          Vielen Dank nochmal ...........