# Background Image

**URL:** <https://forum.phpvms.net/t/background-image/4539>\
**Category:** Skinning - Legacy phpVMS (v2/v5)\
**Created:** [April 19, 2011, 6:08pm UTC](https://forum.phpvms.net/t/background-image/4539 "2011-04-19T18:08:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![freshJet](https://forum.phpvms.net/user_avatar/forum.phpvms.net/freshjet/32/122_2.png) [@freshJet](https://forum.phpvms.net/u/freshJet)\
**Post date:** [April 19, 2011, 6:08pm UTC](https://forum.phpvms.net/t/background-image/4539/1 "2011-04-19T18:08:55Z")

</div>

I recently wanted to change my background because my last one was plain grey. This time, I want a blue/white gradient with a small shadow on the actual page, as you’ll see on my site (click my signature). I have already tried got this:

```
body {
margin-top: 50px;
padding: 0;
background: url(http://www.freshjetvirtual.com/lib/skins/premiumseries/images/freshjet_bg.png);
text-align: justify;
font-family: Tahoma;
font-size: 12px;
color: #000000;
}

```

But you’ll see that on my site, it repeats itself vertically (repeat-x), but it’s not in the code. I basically want a shadow around the top and sides of the page against the blue/white gradient.

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [April 19, 2011, 6:29pm UTC](https://forum.phpvms.net/t/background-image/4539/2 "2011-04-19T18:29:44Z")

</div>

Can’t quite tell what you want but, add repeat-x (horizontal), repeat-y (vertical) or no-repeat to the end of your background attribute, e.g:

```
background:url(img.png) no-repeat;

```

---

<div class="post-metadata">

**Author:** ![freshJet](https://forum.phpvms.net/user_avatar/forum.phpvms.net/freshjet/32/122_2.png) [@freshJet](https://forum.phpvms.net/u/freshJet)\
**Post date:** [April 19, 2011, 6:33pm UTC](https://forum.phpvms.net/t/background-image/4539/3 "2011-04-19T18:33:06Z")

</div>

Cheers, I had repeat:none
