Hi
hi, ich möchte auf verschiedenen seiten verschiedene hintergrundbilder machen, aber alles andere soll gleich bleiben. wie definier ich das im css?
Hier ein Beispiel:
body.wir {background-color:#ffffff;background-image:url(/bilder/wir.jpg);
background-repeat:repeat-x;background-attachment:fixed;
margin:0px 0px 0px 0px;
}
body.kontakt {background-color:#ffffff;background-image:url(/bilder/kontakt.jpg);
background-repeat:repeat-x;background-attachment:fixed;
margin:0px 0px 0px 0px;
}
body.aktuell {background-color:#ffffff;background-image:url(/bilder/back2-aktuell.jpg);
background-repeat:repeat-x;background-attachment:fixed;
margin:0px 100px 0px 0px;
}
im Body-Tag dann entsprechend <body class="kontakt"> etc. schreiben.
Viele Grüße
lulu