Moin.
Den Hintergrund bei CSS setzt man mit background-image:url(/pfad/zum/bild.jpg);
Wenn der Hintergrund im Body sein soll also:
body{
background-image:url(/pfad/zum/bild.jp");
}
Hallo.
Bisher habe ich noch keine Erfahrungen mit CSS Codes gemacht, hab allerdings ein paar Vorkenntnisse zu HTML. Ich habe mir meine eigene Homepage beim Anbieter homepage-baukasten.de erstellt und auch schon ein Design angefertigt. Ich habe mit dem Text etc eigentlich keine größeren Probleme, doch ich weiß nicht, wie ich das Bild einfügen soll... Also der Hintergrund besteht aus einem Bild und Buttons oder so brauche ich erstmal nicht - ich will nur das Bild in den Hintergrund einbauen.
So sieht mein Code bis jetzt aus:
Code:body,td { font-family: Arial; font-size: 10px; color: #aba7a7; line-height: 11px; letter-spacing: 0px; text-align:justify; } p{ margin: 1px; } strong,b{ color: #eabd20; font-size: 11px; font-weight: bold;} u{ color: #eabd20; font-size: 11px; font-weight: bold;} em,i{ color: #eabd20; font-size: 11px; font-weight: bold;} A:link { font-family: Arial; font-size: 10px; color: #eabd20; text-decoration: none; } A:active { font-family: Arial; font-size: 10px; text-decoration: none; color: #eabd20; } A:visited { font-family: Arial; font-size: 10px; text-decoration: none; color: #eabd20; } A:hover { font-family: Arial; font-size: 10px; color: #eabd20; background-color:#000000;}
Danke und liebe Grüße,
Katharina
Moin.
Den Hintergrund bei CSS setzt man mit background-image:url(/pfad/zum/bild.jpg);
Wenn der Hintergrund im Body sein soll also:
body{
background-image:url(/pfad/zum/bild.jp");
}
Gruss Guin
Mein Blog
schau mal hier nach, da steht alles genau beschrieben
computer tun nur das was man ihnen sagt, meistens
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)