I would indeed have helped to mention why I’m doing this hehe. Here it comes: I want to have a different background fullscreen image on each page. Therefor I use this piece of code inside the body tag:
body {
background: url(‘images/background1.jpg’) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
font-size: 100%;
font-family: “Myriad Pro”, helvetica, sans-serif, Helvetica, Arial, Verdana;
}
on page 2 it’s ‘ background2.jpg’ and so on.
Is there a way to this in the way you guys mentioned? Or am I ‘doomed’ to do it in the way i tried?