I have the following css, which places an image across the top of the body background:
body {
background:url("http://intranet/img/background-top.png") repeat-x top;
}
is it possible to push this image down by about 50px?
Yes:
body {
background: url(whatever) repeat-x 0px 50px;
}
or:
body {
background-image: url(whatever);
background-position: 0px 50px;
background-repeat: repeat-x;
}
body {
background:url("http://intranet/img/background-top.png") repeat-x left 50px;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With